Hi,
We have tried to accelerate our program with intel opencl on Windows 7.The program works successfully.
And now,we want to switch to Linux(with the same hardware) . So we installed the driver and intel opencl SDK for linux.We download the sample code and also running without any fault.However, after running my own program ,it returns Segmentation fault.We use GDB to locate the fault and we get this:
2529 status = clEnqueueNDRangeKernel( (gdb) n 2538 NULL); (gdb) n 2541 status=clFinish(cmdQueue1); (gdb) p status $2 = 0 (gdb) n Thread 3 "GAKnot1" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffee418700 (LWP 3221)]
More Details:
OS:Ubuntu 16.04LTS
Driver Version:1.2.0.400 (PS:from clinfo)
Devices Name:Intel(R) Core(TM) i7-6700k CPU @ 4.00GHz (PS:from clinfo)
We installed SRB4 driver package.
My question is as follows:
1.Does it mean the Segmentation Fault is caused by kernel?
2.How to debug with kernel?Are there any tools for Ubuntu ?
Thanks for your attention.
Regards