4 ms·
OpenCL Pro Tip: the __restrict keyword behaves as normal in OpenCL C, so adding it to kernel code may not move read only data into the constant cache. to achie
by foxhill 12y ago
OpenCL Pro Tip:
the __restrict keyword behaves as normal in OpenCL C, so adding it to kernel code may not move read only data into the constant cache.
to achieve this, try using the __constant address space.