【发布时间】:2012-03-22 16:58:08
【问题描述】:
如何在 cuda 命令行分析器中为“uncached_global_load_transaction”计数器启用分析?
【问题讨论】:
如何在 cuda 命令行分析器中为“uncached_global_load_transaction”计数器启用分析?
【问题讨论】:
使用以下环境变量控制命令行分析器 -
COMPUTE_PROFILE: is set to either 1 or 0 (or unset) to enable or disable profiling.
COMPUTE_PROFILE_CONFIG: is used to specify a config file for enabling performance counters in the GPU and various other options.
COMPUTE_PROFILE_LOG: is set to the desired file path for profiling output.
在您的情况下,您可以将上述环境变量设置为 -
COMPUTE_PROFILE=1
COMPUTE_PROFILE_CONFIG=config.txt
COMPUTE_PROFILE_LOG=profiler_output.txt
config.txt 必须包含一个条目uncached_global_load_transaction。
【讨论】: