AnsweredAssumed Answered

OpenCL Compiler Bug

Question asked by cireneikual on Jul 12, 2014
Latest reply on Jul 14, 2014 by dipak



I have recently been experimenting with OpenCL, and I am quite sure that I have found a compiler bug.


I get a memory access violation in clBuildProgram.


I only get this access violation if one of my functions (part of my path tracer) has a "return true;" statement.


If I change the value of the return to false, it compiles and runs fine.


This particular return true statement is found towards the end of the intersectsTriangle function (the only return true in the entire function).


Here is my kernel code for the version that crashes:


[C] OpenCL Compiler Bug -


Thank you for any help you can offer towards resolving this bug!