【问题标题】:I am using the DaCe framework in Python. How can I edit the debug info of a tasklet, either at creation or after its creation?我在 Python 中使用 DaCe 框架。如何在创建时或创建后编辑 tasklet 的调试信息?
【发布时间】:2021-04-29 14:40:20
【问题描述】:

我正在使用 DaCe 框架从其他代码片段创建 SDFG。因此,当我翻译代码时,我需要将 tasklet 调试信息与原始代码相关联,而不是 python 代码进行翻译。

这在 DaCe 中是否可行,如果可以,如何实现?

【问题讨论】:

    标签: performance portability dataflow


    【解决方案1】:

    如果您使用 SDFG API 创建 Tasklet,您可以使用 add_taskletdebuginfo 关键字参数或其他 API 调用来设置正确的行/列信息。查看示例in the Python DaCe frontend

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-10-10
      • 2013-12-04
      • 2023-03-28
      • 2019-04-21
      • 2010-12-12
      • 2015-11-13
      • 1970-01-01
      • 2010-11-04
      相关资源
      最近更新 更多