OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

OPENCL MIC DEVICE HW EXCEPTION

Jianbin_F_
Beginner
169 Views

Hi, I have encountered a problem when running a matrix multiplication kernel on MIC. It says as follows. The kernel uses local memory. The weird thing is that the error occurs depending on the workgroup size. For example, when using a 32x32 work-group, the program works and can emit the right reslts. Meanwhile, when using a work-group of 32x8, it will emit the follow messages. Do anyone have an idea of the reasons? I wonder whether there is any special requirement on the work-group specification?

-------------------------------------------------------------------------------------------------------

*** OPENCL MIC DEVICE HW EXCEPTION ***: Segmentation fault (Address not mapped to object [0x7ffe25560000])

-------------------------------------------------------------------------------------------------------

0 Kudos
3 Replies
Dmitry_K_Intel
Employee
169 Views

Looks like your kernel accesses beyond buffer boundaries.

Jianbin_F_
Beginner
169 Views

Yes, you are right. It is tricky when the work-group is not in a square shape.

JLuna5
New Contributor I
169 Views

Hi, perhaps you should give a permission on the kernel for run

Reply