When i try to debug opencl kernel using CodeXL, it just points to the wrong line number( offset error inside a file that contains several others kernels ).
- Kernel is inside a file with several others kernels
- Ubuntu 12.04 x86_64
- Catalyst 12.4( rev. 8.961 )
- AMD APP SDK v2.7
Edit.: SOLVED in another thread:
Catalyst 12.4 is little old. Can you please upgrade the Catalyst to latest version and try debugging the OpenCL kernel?
To use CodeXL, for GPU Profiling and Debugging, the AMD Catalyst Driver must be12.6 or later. Catalyst 12.8 is the recommended version.
Latest version can be downloaded here:
First of all, thanks for your help.
I've already solved the problem and it is marked as so in another thread that i opened in the codexl subforum. Here it is http://devgurus.amd.com/thread/159945.
But besides this, I could not find what you are saying, "the AMD Catalyst Driver must be12.6 or later. Catalyst 12.8 is the recommended version.". So i think AMD developers should take care of about mismatch informations. Information provided by AMD's site about opencl is very messy, in relation to software version. For example.: If one goes to http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/d...
and try to download AMD-APP-SDK-v2.7, the Tested Drivers session recommends Catalyst. 12.04 Driver and Ubuntu® 10.0* (for my case, because i use linux/ubuntu). When one goes to http://developer.amd.com/tools/heterogeneous-computing/codexl/
the site suggests Ubuntu® 64-bit 11.10 or later. Also, there is a AMD-APP-SDK-2.7 32 bits version but CodeXL only 64?!!?!?
I installed Ubuntu 12.04 - 64 bits, as suggested in CodeXL page, and Catalyst 12.10 to test CodeXL. Result no debug at all!! So i changed to Catalyst 12.04 and now i can debug.