cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

cireneikual
Journeyman III

OpenCL Compiler Bug

Hello,

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:

OpenCL Compiler Bug - Pastebin.com

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

0 Likes
1 Reply
dipak
Big Boss

Hi,

I was unable to open the link given above. Please can you attach the simple test case here?

Please let us know your system setup details: CPU, GPU, SDK, Driver, OS (Window/Linux) (32/64) etc. and attach the output of "clinfo" command.


Regards,

0 Likes