I am relatively new to GPU programming. I want to use nvidia profiler (Version 3.2 for visual profiler) for CUDA and OpenCL profiling on Mac. I have two problems:
The NVIDIA command-line profiler works fine for CUDA but not the visual one as it says that “Unable to initialize profiling in start/stop mode”, This problem is already asked but no solution is known to me.
The NVIDIA Profiler is not working for OpenCL even the command line one (no log file is created at all and there is no permission issue). Other possible causes mentioned are with deallocation of resources but that should not be the case with openCL SDK code samples (e.g. VectorAdd). Following is my environment variable setting:
CUDA_PROFILE_CONFIG=<path to .cofig file> which contains 4 entries: gld_coherent, gld_incoherent, gst_coherent, gst_incoherent