Skip to main content
10 votes
Accepted

CUDALink support-Mathematica 11

Your CUDA paclet is outdated. Updating it with CUDAResourcesInstall[Update -> True] should fix your problems. The output of ...
Karsten7's user avatar
  • 27.5k
8 votes
Accepted

OpenCL compute large matrices

If memory is your bottleneck then don't use a GPU. The transfer of data between CPU (and its main memory) and the GPU is so slow that it virtually always takes longer than performing the computation ...
Henrik Schumacher's user avatar
4 votes
Accepted

Marginalize a table over given parameters using OpenCL

Before resorting to the nuclear option one can obtain 100-fold speedup with conventional methods. More precisely, we can use Compile to guarantee that we get a <...
Henrik Schumacher's user avatar
3 votes

OpenCL compute large matrices

The problem in my OpenCL code was probably coming due to the local memory constraints of the workgroups. After modifying the code a little bit, I could get it to work for the size ...
dykes's user avatar
  • 361
2 votes

OpenCL pass local memory

The OpenCL specification has this to say about clSetKernelArg which is called internally when the arguments are passed in: If the argument is declared with the ...
flinty's user avatar
  • 25.6k

Only top scored, non community-wiki answers of a minimum length are eligible