OpenCLLink allows the Wolfram Language to use the OpenCL parallel computing language. It contains functions that facilitate loading user-defined OpenCL functions into the Wolfram Language. OpenCLLink also integrates OpenCL with existing Wolfram Language development tools, allowing a high degree of ...

learn more… | top users | synonyms

0
votes
0answers
35 views

How to enable OpenCL for AMD Radeon HD 6490M?

I have a MacBook Pro Early 2011, I would enable the GPU (AMD Radeon HD 6490 256MB) for OpenCL, but it seems the OpenCL is enabled for CPU, not for GPU. Please advise how to enable it for calculation. ...
6
votes
0answers
71 views

Generating OpenCL C code [closed]

I'm trying to make an interactive complex function plotter using OpenCl. So far I can only plot functions that I hardcode into the kernel by hand. I'd like to be able to use ...
18
votes
2answers
630 views

OpenCL stopped working‏ in Mathematica 10.2

Bug introduced in 10.2 and persisting through 10.4 I have noticed that OpenCL stopped working on Intel HD Graphics 4600 (Windows 8.1 x64, Windows 10 x64, latest Intel graphic drivers). Can anyone ...
0
votes
1answer
196 views

OpenCL matrix multiplication on Mathematica

I took a matrix multiplication written using OpenCL from here: ...
2
votes
0answers
118 views

OpenCL_result not the same as that in the example-Julia

My system is "Windows-x86-64", Mathematica version is 10.0, my card is GTX860M When I'm trying this example, my result is not the same like that in the example. ...
4
votes
1answer
100 views

OpenCLLink eating up all host memory

I am calling lots of OpenCL functions from Mathematica. The problem is that the memory the kernel uses grows and grows until the RAM is fully occupied. I have created a small piece of code to ...
2
votes
0answers
132 views

OpenCL pass local memory

I've got the following OpenCL function: __kernel void mergeSort(__global const float * in,__global float * out, __local float *aux) When I try to call it, I only ...
1
vote
0answers
23 views

OpenCLLink specify grid size when calling function

The Mathematica documentation (section "Details": https://reference.wolfram.com/mathematica/OpenCLLink/ref/OpenCLFunction.html) states that: On launch, if the number of threads is not specified (...
5
votes
1answer
3k views

How is the dimensionality of an OpenCL problem specified?

When writing an OpenCL kernel, calls to get_global_id() are used to determine the "position" within the problem that a particular instance of the kernel is working ...
1
vote
0answers
135 views

Debug OpenCL installation issues and beignet

I am trying to make Mathematica recognize my OpenCL installation, which is beignet. It is experimental software, so I know that it probably won't work (even clinfo ...
2
votes
0answers
943 views

Can Mathematica automatically take advantage of the GPU on the new Mac Pro?

I'm upgrading my Mac to one of the new Mac Pro R2D2 Darth Vader models that have just been released. They come standard with twin AMD FirePro D300 cards, or twin D500 cards. I don't need that much ...
8
votes
2answers
941 views

How to choose the OpenCL device to use?

OpenCLInformation tells me that my computer has three available OpenCL devices. How can I choose which one to use for computations? How can I verify that ...
4
votes
1answer
1k views

Solar system simulation (n-body physics) with OpenCL

I would like to simulate a n-body solar system in Mathematica. I have found the following example: http://www.wolfram.com/mathematica/new-in-8/cuda-and-opencl-support/simulate-thousands-of-particles-...
6
votes
0answers
247 views

Does OpenCL/Cuda memory leak if not Unloaded? Problem with allocating/loading GPU memory in Module

The GPU memory manager documentation is not too clear, does GPU memory leak if not explicitly unloaded or if the symbol that holds the reference to the GPU memory gets collected, the GPU memory gets ...
1
vote
2answers
249 views

Image's pixels GPU colour classes splitting

How can I split in color classes, the pixels of an image that I load in Mathematica? I would an output like this: ...
2
votes
0answers
152 views

The OpenCL documentation examples are not working, what does CUDAFunctionLoad::cmperr mean?

I just updated to the latest CUDA drivers and the documentation examples stopped working. I'm using the latest Mathematica, OpenCLQ is True and the error is: ...
6
votes
1answer
2k views

OpenCL Dot Product

I have to calculate billions of dot products. My current implementation uses Compile to generate C code and it's very fast (10s ...
11
votes
1answer
935 views

Is there a simple example using OpenCLLink that shows performance advantages?

OpenCLLink allows Mathematica to use the OpenCL parallel computing language. I have done some tests on simple examples, but so far, the CPU regularly outperforms ...