1

How to enable profiling for "uncached_global_load_transaction" counter in cuda command-line profiler?

1 Answer 1

2

The command line profiler is controlled using the following environment variables -

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.

In your case you can set above environment variables as -

COMPUTE_PROFILE=1
COMPUTE_PROFILE_CONFIG=config.txt
COMPUTE_PROFILE_LOG=profiler_output.txt

config.txt must contain an entry uncached_global_load_transaction.

1
  • Thanks. I did the samething, but the profiler can't identify the uncached_global_load_transaction option. Maybe my card doesn't support it.
    – dalibocai
    Mar 25, 2012 at 14:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.