- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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])
-------------------------------------------------------------------------------------------------------
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like your kernel accesses beyond buffer boundaries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you are right. It is tricky when the work-group is not in a square shape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, perhaps you should give a permission on the kernel for run

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page