[hellollvm] 词法分析:缕清楚了文件的包含关系(九)
继续学习对forward.h的词法分析
我在持续监控如下内存的同时
p (**(clang::Lexer **)(0x555569d844b8 + 0x38)).MIOpt.MacroLoc.ID
$7 = 969998
$7 = 969998
p (**(clang::Lexer **)(0x555569d844b8 + 0x38*0)).MIOpt.MacroLoc.ID
$6 = 324889
p (**(clang::Lexer **)(0x555569d844b8 + 0x38*-1)).MIOpt.MacroLoc.ID
$7 = 271772
p (**(clang::Lexer **)(0x555569d844b8 + 0x38*-2)).MIOpt.MacroLoc.ID
$8 = 213834
p (**(clang::Lexer **)(0x555569d844b8 + 0x38*-3)).MIOpt.MacroLoc.ID
$6 = 324889
p (**(clang::Lexer **)(0x555569d844b8 + 0x38*-1)).MIOpt.MacroLoc.ID
$7 = 271772
p (**(clang::Lexer **)(0x555569d844b8 + 0x38*-2)).MIOpt.MacroLoc.ID
$8 = 213834
p (**(clang::Lexer **)(0x555569d844b8 + 0x38*-3)).MIOpt.MacroLoc.ID
在ParseDecl这里设置了断点
9 hw watchpoint keep y *(unsigned long *)0x555569d844b8
10 hw watchpoint keep y *(unsigned long *)0x555569d844f0
breakpoint already hit 3 times
11 breakpoint keep y 0x0000555566b09016 in clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) at /home/zzy/Program/llvm-project/clang/lib/Parse/ParseDecl.cpp:2074
breakpoint already hit 4 times
12 breakpoint keep y 0x0000555566a5bfc1 in clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) at /home/zzy/Program/llvm-project/clang/lib/Parse/Parser.cpp:758
10 hw watchpoint keep y *(unsigned long *)0x555569d844f0
breakpoint already hit 3 times
11 breakpoint keep y 0x0000555566b09016 in clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) at /home/zzy/Program/llvm-project/clang/lib/Parse/ParseDecl.cpp:2074
breakpoint already hit 4 times
12 breakpoint keep y 0x0000555566a5bfc1 in clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) at /home/zzy/Program/llvm-project/clang/lib/Parse/Parser.cpp:758
听 ISCA 2025,中国科学院计算技术研究所谭光明团队作《MD-pipe: A Strong Scaling Enhanced Pipeline Architecture for Ab Initio Accuracy Molecular Dynamics》报告。报告指出,具备第一性原理精度的神经网络分子动力学(NNMD)模拟虽广泛应用于材料科学和分子药理学,但由于算法复杂度极高,传统的软件与算法层面优化仍远无法满足日益增长的性能需求。为此,研究团队推出了首个面向神经网络分子动力学的定制化硬件加速架构方案 MD-pipe;该方案在硬件设计与微架构实现上,基于 AMD VPK180 FPGA 平台以及 ASIC 综合工具进行了深度开发与验证;该系统通过引入基于任务的并行策略、精细化流水线任务重叠设计,并定制了专为 DeePMD 计算流程打造的高利用率脉动阵列(Systolic Line),将计算粒度从矩阵细化至向量,同时结合算法-架构协同设计引入计算迁移策略以降低临时数据存储开销,并通过数据流重组和预加载消除了矩阵转置成本;在极端的强扩展性部署下(即每个核心处理一个原子),该架构实现了 67.6 μs/day 的模拟速度,性能达到了富岳(Fugaku)超级计算机上最先进(SOTA)工作的 454 倍,显著打破了分子动力学模拟的时间尺度瓶颈。