3 ms·
Learn enough about GPUs to be able to read the profiler. That should be your #1 goal: learning to use the profiler and performance counters. The profiler not o
by dragontamer 8y ago
Learn enough about GPUs to be able to read the profiler. That should be your #1 goal: learning to use the profiler and performance counters.
The profiler not only tells you how fast your code is, but also why your code is fast or slow... at least to the best ability of the hardware performance counters.
Is it RAM-bottlenecked? Is it Compute bound? Are your Warps highly utilized? Etc. etc. If you don't know what the profiler is saying, then study some more.
https://docs.nvidia.com/nsight-visual-studio-edition/Content/Analysis/Report/CudaExperiments/KernelLevel/PerformanceCounters.htm https://docs.nvidia.com/nsight-visual-studio-edition/Content...