Questions tagged [cudalink]

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

111 questions
12
votes
3 answers

Are you able to use CUDA on Linux?

I am using Mathematica 10.2 on Ubuntu 15.04 x64. At first, I try to use CUDALink: Needs["CUDALink`"]; CUDAQ[] It returns False. The reason why it returns False is that the default paths for NVidia Driver and CUDA are /usr/lib64/libnvidia-tls.so…
Purboo
  • 677
  • 3
  • 15
10
votes
1 answer

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 misleading). How do I turn it off? (i.e. make it use an isometric projection)
F'x
  • 10,817
  • 3
  • 52
  • 92
8
votes
1 answer

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 bounding box, axes, labels, etc. How is CUDAVolumetricRender[] supposed to be…
F'x
  • 10,817
  • 3
  • 52
  • 92
8
votes
1 answer

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 doesn't work for more than one reason. It declares…
Rojo
  • 42,601
  • 7
  • 96
  • 188
6
votes
2 answers

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 number of threads to be launched as the max length…
Rojo
  • 42,601
  • 7
  • 96
  • 188
5
votes
2 answers

CUDA 6.5, Mathematica 10.0.2, and Ubuntu 14.04

I have CUDA 6.5 working fine on Ubuntu 14.04. Mathematica recognizes the driver (Nvidia 340), but CUDAQ[] returns False and I cannot get any CUDA functions to work in Mathematica. I have created symbolic links to /usr/lib64/ for the CUDA…
Sean Lawton
  • 183
  • 7
5
votes
1 answer

cannot load CUDAFunction from cubin, ptx or library file

According to the documentation of CUDAFunctionLoad it should be easy to specify a compiled file (cubin, ptx, dll should all work) as the source for loading a CUDAFunction. Unfortunately it does not for me. Compiling from source works fine, but as…
Wizard
  • 2,720
  • 17
  • 28
4
votes
0 answers

Mathematica will not detect NVIDIA Titan X for CUDA functions

I've run Needs["CUDALink`"] CUDAResourcesInstall[] which, after a long download, returns { PacletManager`Paclet[ "Name" -> "CUDAResources", "Version" -> "10.2.0.3", "MathematicaVersion" -> "10.*", "Description" -> "{ToolkitVersion -> 7.0,…
4
votes
1 answer

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
xslittlegrass
  • 27,549
  • 9
  • 97
  • 186
4
votes
1 answer

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[], CUDAInformation[], CUDADriver[]) seem to give successful outputs. However, when I try to execute actual CUDA commands the…
Ziofil
  • 2,470
  • 16
  • 30
4
votes
0 answers

CUDA not recognized on MacBookPro

I am running Mma 11.1.0 on MacOS 10.12.4 on MacBook Pro (Retina, 15-inch, Mid 2014) with NVIDIA GeForce GT 750M 2048 MB I installed the Nvidia CUDA driver 8.0.71. I evaluate Needs["CUDALink`"] And then CUDAQ[] and I get False What am I doing…
abwatson
  • 1,919
  • 1
  • 12
  • 19
4
votes
0 answers

CUDADot runs slowly and writes "CUDALink experienced a kernel launch failure" with matrix size > 3300

I am trying to learn CUDA and start from the help examples. It turnes out that CPU calculation is much faster for matrix sizes < 3200 than CUDA, while CUDADot gives the error for sizes > 3300. I have Win10-64, i7-4702MQ 8GB, CUDADriver 373.06, the…
user40532
  • 215
  • 1
  • 6
4
votes
1 answer

Help with CUDA nvcc error in Mandelbulb example Mathematica 11.0 NVIDIA GTX 1070 on Ubuntu

I am exploring the Nvidia GTX 1070 with Mathematica, I tried this example from the Help guide and it fails with a nvcc complier error. A little google research seems to indicate that I need the nvcc complier included with the CUDA Toolkit v8 Release…
Dave
  • 258
  • 2
  • 6
3
votes
1 answer

CUDA paclet and Mathematica 10.0.2 code problem

In Windows 8.1 64bit and Mathematica 10.0.2, I used the latest cuda paclet 10.0.1. However,following the sample code in CUDALink User Guide, the CUDAFunctionLoad returns an error. I can not figure what is not right. Any help? Needs["CUDALink`"] …
sejabs
  • 33
  • 2
3
votes
1 answer

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: CUDAFunctionLoad::cmperr: "-- Message text not found -- …
user14199
  • 31
  • 5
1
2