to-fix.txt 694 B

123456
  1. lavaMD:
  2. The problem is with the arguments of the kernel, probabl they are too large for the memory of the mali GPU. the memory dedicated to constant is only 64KiB on the device, try change them to glibals as indicated in this post https://devtalk.nvidia.com/default/topic/457558/what-could-be-wrong-with-this-kernel-code-provided/
  3. srad:
  4. the default dimension of long on the mali architecture is 4 byte instead of 8 byte, so I dubled what the sizeof(long) return, but at this point we have an CL_OUT_OF_RESOURCES error when calling clEnqueueNDRangeKernel. Also check if this bug is solvable using double instead of long. Seems solved compiling with make KERNEL_DIM="-DRD_WG_SIZE_0=32"