cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

ekondis
Adept II

Disassemble an OpenCL 2.0 kernel with CodeXLAnalyser

I have tried disassembling a simple OpenCL 2.0 kernel (just as an example of work_group_reduce_min function) but it fails though I pass the "-cl-std=CL2.0" option with "--OpenCLoption -cl-std=CL2.0":


/opt/AMD_CodeXL_Linux_x86_64_1.5.5364/CodeXLAnalyzer




AMD Catalyst detected, version 14.41


Compiling device: Bonaire... Succeeded!


Error: Failed getting the disassembly for kernel: kop on device: Bonaire.


Assertion failure (Assertion failure (rc && (_hOpenGLRC != __null))) ~osOpenGLRenderContext /data/jenkins/workspace/CodeXL-1.5-Linux/release/CodeXL/1.5/CommonProjects/AMDTOSWrappers/src/linux/osOpenGLRenderContext.cpp line: 95


: Resource temporarily unavailable


It OpenCL 2.0 not supported by CodeXL yet?

0 Likes
2 Replies
mdriftmeyer
Adept II


ekondis wrote:



I have tried disassembling a simple OpenCL 2.0 kernel (just as an example of work_group_reduce_min function) but it fails though I pass the "-cl-std=CL2.0" option with "--OpenCLoption -cl-std=CL2.0":





/opt/AMD_CodeXL_Linux_x86_64_1.5.5364/CodeXLAnalyzer




AMD Catalyst detected, version 14.41


Compiling device: Bonaire... Succeeded!


Error: Failed getting the disassembly for kernel: kop on device: Bonaire.


Assertion failure (Assertion failure (rc && (_hOpenGLRC != __null))) ~osOpenGLRenderContext /data/jenkins/workspace/CodeXL-1.5-Linux/release/CodeXL/1.5/CommonProjects/AMDTOSWrappers/src/linux/osOpenGLRenderContext.cpp line: 95


: Resource temporarily unavailable




It OpenCL 2.0 not supported by CodeXL yet?


After digging through the Release notes for CodeX I don't see specific references to the OpenCL 2.0 driver. Perhaps AMD is waiting to roll out OpenCL 2.0 support in CodeXL when they get multiple GPGPUs supported on their OpenCL 2.0 driver and more of those features not working, working.

AMD OpenCL 2.0 Driver

I think this list of known issues needs to be resolved first:

  • Graphical corruption observed while running Sandra subtest bandwidth
  • Adobe Premiere Pro 2014 application hang observed
  • Multi-GPUs not supported on OpenCL 2.0
  • CPU Conformance not supported on OpenCL 2.0
0 Likes

CodeXL does not support OpenCL 2.0 yet. It will in the near future.

FYI- Hawaii is a device that supports OpenCL2.0