2 Replies Latest reply on Oct 7, 2014 1:44 AM by delifaz

    Disassemble an OpenCL 2.0 kernel with CodeXLAnalyser

    ekondis

      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?

        • Re: Disassemble an OpenCL 2.0 kernel with CodeXLAnalyser
          mdriftmeyer

          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