OPENCL MIC DEVICE HW EXCEPTION

OPENCL MIC DEVICE HW EXCEPTION

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])

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

4 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

Looks like your kernel accesses beyond buffer boundaries.

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

Bild des Benutzers JudLup Luna

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

JudLup Luna

Melden Sie sich an, um einen Kommentar zu hinterlassen.