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 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

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

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui