Tagged Questions

Questions about using CUDALink, Mathematica's method to accelerate programs using NVidia graphics cards.

learn more… | top users | synonyms

0
votes
0answers
19 views

Missing MSVCP110.dll for CUDA

I am trying to get CUDA running on Mathematica, when I execute CUDAQ[], it gives a error message of missing MSVCP110.dll. Please assist. Thank you.
11
votes
1answer
121 views

How to use SparseArray in CUDA?

Sparse arrays are widely used in many scientific applications where memory and time are strictly limited. For a considerable speedup one can use CUDA. Since Mathematica 8 we can conveniently use CUDA ...
2
votes
0answers
50 views

CUDALink Error: A CUDALink kernel timed out?

I'm following the CUDALink tutorial [ http://reference.wolfram.com/language/CUDALink/tutorial/Introduction.html ] and everything is going fine until I get to the part that calls CUDADot on the ...
14
votes
2answers
213 views

Combining images with CUDA

2nd Edition: To make it a bit more clear, and to summarize the discussion in comments. I have a small image, like this one: ...
5
votes
1answer
172 views

calling CUDA library functions

Mathematica has some predefined CUDA functions, like CUDAMap, CUDAFourier, etc. My question is how can one call functions which are part of CUDA library but not part of predefined Mathematica ...
1
vote
1answer
108 views

CUDAFunctionload error

I am trying to get CUDAFunctionLoad to work with Mathematica 9.0. I installed the latest clang and the Nvidia Tools 6.0. but I keep getting the error message: ...
7
votes
1answer
282 views

make mathematica recognize CCompiler and compile CUDA code on remote Windows machine

I have set up a Mathematica remote kernel on a Windows 7 64 bit machine, which has Microsoft Visual Studio 2010 installed. When I start Mathematica on the windows machine Mathematica recognizes the ...
0
votes
0answers
75 views

NVCC running CUDA in Mathematica 9.01 CudaCCompiler[] fails

This is an old thread that received no responce but like to post again. Anyone here using Mathematica and CUDA? I have not been able to have Mathemartica detect teh CUDA able C compiler. ...
0
votes
0answers
57 views

Mathematica 9.01 and CUDA under VB 2013 and modified CCompilerDriver

I tried to force CUDA using Visual Studio 2013 C compiler by manipulating the VisualStudioCOmpiler file found at C:\Program Files\Wolfram Research\Mathematica\9.0\AddOns\Applications\CCompilerDriver ...
0
votes
0answers
47 views

Error in CUDALink installation? SystemInformation[] does not report version number

I am using Mathematica 9.0.1.0 for linux, on Crunchbang "Waldorf" (Debian 7). Video card is nVidia NVS 3100m. CUDA version is 5.5, and video drivers are 331.49 as installed by smxi. My issue is ...
2
votes
1answer
189 views

How to get CUDALink working on linux (Crunchbang Waldorf) with NVS 3100m

I am trying to get CUDALink working on my laptop. I am running Crunchbang "waldorf" which is based on Debian 7 "wheezy". I am a linux novice. The issue is that Mathematica can "see" the nVidia ...
4
votes
1answer
484 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
1answer
205 views

CUDALink with Nvidia GTX770

We are running a Windows 7 machine with Nvidia GTX 770. According to this reference GPU Hardware: CUDA for Mathematica 9 is not supported on that hardware. Is there any way to get it running? ...
0
votes
0answers
158 views

CUDA 5.5 and Mathematica 9 code problem

In Mathematica 9, I entered the following sample code, but it returns an error. I can not figure what is not right. Any help? ...
6
votes
0answers
233 views

Poor CUDALink performance, when calling a kernel multiple times

When working on a project of mine I noticed that CUDALink shows very poor performance when calling CUDA kernels multiple times in a loop-construct. To demonstrate this I put together this little ...
1
vote
0answers
648 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 ...
5
votes
0answers
139 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
0answers
166 views

CUDALink ran out of available memory

I have a problem with automatic GPU memory management when using CUDA. The situation is the following: I create a simple CUDA function that operates on a 2D array (image), which does not take much ...
0
votes
1answer
127 views

Remote Kernel and CUDALink

I have setup a remote kernel on my Mac, which connects to a more powerful Linux 64Bit Desktop. Mathematica is setup fine on the Linux machine. CUDA is also working fine and ...
1
vote
2answers
172 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: ...
1
vote
0answers
191 views

CUDA* commands are very slow on OS X and Mac

I have Mathematica 8.0.4.0 installed on my new MacBook Pro running OS X 10.8. I also have the latest CUDA drivers (and even the CUDA SDK) from nVIDIA. I've noticed that commands like CUDAQ[] take a ...
4
votes
1answer
208 views

CUDAQ[] returns False in version 9 while True in version 8

CUDA works in version 8 but not in version 9. Is there a way to fix the problem in version 9? I've installed the latest CUDA from the official website https://developer.nvidia.com/cuda-downloads
23
votes
3answers
1k views

How to find the center of a circular pattern?

I am writing an algorithm that finds the center of 500 x 500 pixels images coming from a live feed from a camera at 50 Hz. So it has to be quick! The images are images of an optical field which looks ...
3
votes
1answer
223 views

How to troubleshoot CUDALink?

This is a follow-up question from linking the libraries for CUDALlink in Ubuntu 12.10. The tests that I execute (CUDAQ[], ...
5
votes
2answers
686 views

Mathematica cannot find CUDA driver

I have successfully installed CUDA 5.0 on my Ubuntu 12.10, with driver 304.54, toolkit and samples. Running deviceQuery gives me a successful output: ...
10
votes
1answer
378 views

How to make a volume CUDA rendering isometric?

I just realized that the output of CUDAVolumetricRender[] uses (quite marked) perspective, which I do not want (for scientific data representation, it can be very ...
8
votes
1answer
218 views

Can CUDAVolumetricRender be combined with other 3D graphics?

I have volumetric data, which I can render using CUDAVolumetricRender[]. However, I cannot seem to find a way to combine it with other 3D graphics, such as adding a ...
5
votes
1answer
450 views

CUDALink is not initialized

I've upgraded to Mathematica 9.0 on Ubuntu 12.04 with the latest Nvidia driver (304.64). I load CUDA by using, as usual, Needs["CUDALink`"]. ...
6
votes
2answers
301 views

Use of Cellular Automaton or Discrete Convolution to calculate Potts Energy of a 2D Matrix

In a project of Monte Carlo Modelling of Grain Growth (Link) one of the most costly subroutines is the calculation of the Potts-Energy of an Monte Carlo Grid cell by comparing the center cell value ...
6
votes
3answers
376 views

How to properly remove the CUDAResources paclet?

I have Mathematica 8.0.0.0 installed on my Mac, and while I tried to see what it could do with CUDA, it downloaded a large directory (~1 GB) named ...
6
votes
1answer
582 views

CUDALink not working on Linux-64 and Asus GTX460

On my hardware I have a CUDA enabled video card an ASUS GTX460, yet Mathematica does not seem to recognize this. I have: CUDA Toolkit 4.1 CUDA SDK 4.0 NVIDIA Driver 295.49 on Sabayon Linux 64 ...
9
votes
1answer
679 views

CUDALink not working on Mac OS X

On my MacBook Pro, I have a CUDA enabled video card, yet Mathematica does not seem to recognize this. For example, following the CUDALink Setup, I get ...
12
votes
1answer
746 views

Why does CUDAQ (from CUDALink) download data from Wolfram servers?

I understand why functions like ElementData or CountryData need to download up-to-date data when first launched. However, when ...
10
votes
2answers
1k views

CUDA and GPU hardware and compatibility questions?

We have iMac desktops and have just begun to parallelize computations across them see: Wolfram Light Weight Grid and parallel computing. This still does not look like it will give us the performance ...
7
votes
1answer
405 views

Can't use CUDA shared memory

CUDALink is properly installed and up to date, all built-in functions work fine, and all little functions I did worked fine... Until I tried using shared memory. The only example I found on the help ...
4
votes
2answers
356 views

CUDA: setting grid dimensions

I'm new to CUDA, and CUDALink. I see how CUDAFunctionLoad allows one to set the block dimensions. On calling the function, you can also either pass as argument or have MMA automatically select the ...