AnsweredAssumed Answered

clBuildProgram Segmentation fault

Question asked by kjo on Mar 6, 2014
Latest reply on Jul 1, 2014 by kjo

Hi Guys,


I am trying to Write a Real Time Ray Tracer in an OpenCL Kernel without any accelerating Techniques.

The Problem is now, that after some time Debugging with CodeXL and keep on changing the opencl kernel code, that now

when CodeXL tries to build the kernel, a Segmentation Fault occurs. And I don't know why.

Before I made these changes on the kernel it was possible to Build the program. But I still don't know

if the code I wrote in the kernel even works because before it said that there would be register spilling. I am still trying to find out what my Problems are.

In my Kernel I got about 700 lines of Code and I am working on my Laptop on an ATI Mobility Radeon HD 5650.

CodeXL says that my GPU got a Global Memory Size of 512 MB and a Local Memory Size of 32KB if it helps.

I haven't tried to build the program on a different PC yet, because I am working from Home, but I got the possibility

to test it on the PCs at my university.


I will attach my cl kernel so that maybe somebody knows what could be the reason for my segmentation fault.