19 Replies Latest reply on Aug 4, 2014 2:48 AM by pinform

    SDK 2.8.1 - Compiler crashes/Undeclared function index 1036 (with  -cl-opt-disable)

    soylentgraham

      After upgrading drivers/catalyst control center (which allowed me to debug some kernels) I now get some compiler crashes....

       

      The attached kernel code crashes in kernel analyzer (and crashes in code), but if I add -cl-opt-disable it doesn't, but it won't execute (or "build" in code) due to "Undeclared function index 1036".

       

      I am currently devolving the code down to a simpler form to demonstrate the error.

       

      Error log: (same for all devices)

       

      ========== Build: started ==========

      OpenCL Compile Error: clBuildProgram failed (CL_BUILD_PROGRAM_FAILURE).

      --------

      OpenCL Compile Message - Compiling for device: Barts

      Error: Undeclared function index 1036

      --------

       

      Any clues as to where this is going wrong? (building blobpair.cl)

       

      Using windows 7, 64bit, and an ATI/amd radeon 5670