I've been running a project that is fine under the Intel OpenCL SDK and the Nvidia SDK. This is running on an Intel Q9500.
I have the following line which is segfaulting as follows (in attached code).
I'm not sure why this is happening, I have an almost identical line above for h_A and d_A which works fine. Both are allocated in the same way and are not null (along with all the other args) on entry to the function. I have tried reducing the number of bytes to enqueue to no avail. I also noticed that a few of the samples segfault too.
I am running Kubuntu 11.10 with 2.6.38-12-generic kernel. 2.5 APP SDK.
Any ideas or workarounds?
ciErrNum = clEnqueueCopyBuffer(m_commandQueue, h_B, d_B, 0, 0, sizeof(char)*40*40, 0, NULL, &clEnqCopyBuffer1.CLEvent()); Program received signal SIGSEGV, Segmentation fault. 0x00007ffff144d7f9 in clEnqueueCopyBuffer () from /opt/AMDAPP/lib/x86_64/libamdocl64.so