Roger Dahl
Roger Dahl

Reputation: 15734

How to fix profiling error "Couldn't add counter: cta_launched_vsm0"

When I attempt to run kernel profiling, I get a series of Couldn't add counter: cta_launched_vsm0 errors. I think it might be due to the profiler targeting a Fermi card, while there's a Kepler card in the machine. I'm using Code Generation compute_30,sm_30. How can I fix this error?

Environment:

Errors:

Nsight: Profiling Kernel kernel
Nsight:                 Achieved Occupancy Experiment ( 1/13):.
Nsight:                     Achieved Flops Experiment ( 2/13):.
Nsight:             Instruction Statistics Experiment ( 3/13):Couldn't add counter: cta_launched_vsm0
(Not supported by device)
Nsight:                   Issue Efficiency Experiment ( 4/13):Couldn't add counter: cta_launched_vsm0
(Not supported by device)
Nsight:                             Branch Experiment ( 5/13):..
Nsight:                      Memory Global Experiment ( 6/13):Couldn't add counter: cta_launched_vsm0
(Not supported by device)
Nsight:                       Memory Local Experiment ( 7/13):Couldn't add counter: cta_launched_vsm0
(Not supported by device)
Nsight:                     Memory Atomics Experiment ( 8/13):Couldn't add counter: cta_launched_vsm0
(Not supported by device)
Nsight:                      Memory Shared Experiment ( 9/13):Couldn't add counter: cta_launched_vsm0
(Not supported by device)
Nsight:                     Memory Texture Experiment (10/13):Couldn't add counter: tex0_cache_sector_misses_gpc0_tpc0
(Not supported by device)
Nsight:                      Memory Caches Experiment (11/13):..Couldn't add counter: l2_slice0_read_sectors_l1_fb0

Nsight:                 Memory Framebuffer Experiment (12/13):Couldn't add counter: l2_slice0_read_sysmem_sectors_fb0
(Not supported by device)
Nsight:                 Launch Information Experiment (13/13):.
Nsight: Experiments complete, total replays needed:  7

Upvotes: 0

Views: 159

Answers (1)

Greg Smith
Greg Smith

Reputation: 11529

Nsight Visual Studio Edition 2.2 shipped before the GTX 660 (GK106) was released to market. Nsight 2.2 has been refreshed multiple times and works with drivers that are compatible with the GTX 660. However, the PM programming library was not updated for 2.2.

Nsight Visual Studio 3.0 RC1 available for download here supports the GTX 660 and Tesla K20.

Upvotes: 2

Related Questions