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

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

publicaciones de 4 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

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.

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

JudLup Luna

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya