AnsweredAssumed Answered

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

Question asked by soylentgraham on Jul 12, 2013
Latest reply on Aug 4, 2014 by pinform

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


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