Quantcast
Viewing all articles
Browse latest Browse all 1182

Segmentation fault with intel opencl for linux

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

 

 

Thread Topic: 

Help Me

Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>