Questions tagged [gpu]

Questions on using Mathematica functionality to take advantage of a Graphics Processing Unit, a special stream processor designed for highly parallel computer graphics operations.

Filter by
Sorted by
Tagged with
2
votes
0answers
76 views

How to use _Complex types in CUDAFunctionLoad?

The documentation for CUDAFunctionLoad specifies various base datatypes you can use for your function's arguments, including ...
2
votes
0answers
29 views

Unable to uninstall an older CUDAResource paclet

I am trying to uninstall an older version of CUDAResource but cannot do so. Any ideas please? Is there a manual way to do so? ...
3
votes
0answers
82 views

Classify/NetTrain run indefinitely without output when using GPU

I am experimenting with Mathematica's Classify/NetTrain functions for the first time. When I don't set a TargetDevice option, Mathematica defaults to the CPU and everything works as expected. When I ...
2
votes
2answers
124 views

Does NetTrain Support Nvidia 30xx series GPU (RTX 3080, 3090 etc)?

Recently, I want to buy some 30xx series GPUs which are used to do deep learning jobs, so does anyone know whether Mathematica's NetTrain supports 30xx series GPUs?
4
votes
1answer
125 views

Mathematica GPU occupancy is too high when the current page has high quality images

When Mathematica's current page contains a high-quality picture, the GPU occupancy rate will increase and the current page delay of Mathematica will increase( the software is slow to respond to my ...
0
votes
0answers
53 views

mathemathica 12.1 Cuda is ok but opencllink returns false

I have mathemathica 12.1 installed CUDA toolkit version 10.2 the graphic card is nvidia geforce gt 1030 and my processor is AMD Atlhon II 240 x2. CUDAQ[] returns true and everything works but when i ...
11
votes
0answers
188 views

Tutorial example NetTrain fails miserably with a GPU

I have been experimenting with GPU NetTrain on AWS now when Mma 12.2 supports remote batch jobs (I don't have an Nvidia GPU to try these things out otherwise). In ...
6
votes
0answers
118 views

Extremely Long GPU Initialization Times on Mathematica 12.2 and RTX3090 [closed]

I'm having trouble getting my new GPU system to work with Mathematica 12.2. I have two RTX3090 cards in my setup. My NVIDIA drivers are version 460.89 (the latest). I have installed CUDAToolkit 11.0 ...
13
votes
0answers
126 views

How to use user-provided CUDA toolkits?

In the revision history, Mathematica v12.1 claims to have "support for user-provided CUDA Toolkits". But other than this line in the revision history, I cannot find any other reference to ...
3
votes
1answer
311 views

CUDA usage in “everyday life”

I have checked documentation about CUDA usage in Mathematica and it seems that it is quite few applications of CUDA. Are the any additional packages/functions/tutorials/documentations for CUDA in ...
2
votes
2answers
124 views

Why is Graphics3D lighting different when rotating? [duplicate]

Mathematica v12.1 on macOS Catalina 10.15.5. I'm getting weird Lighting behavior in Graphics3D in the sense that the rendered ...
2
votes
1answer
3k views

GPU support on latest MacBook Pro, especially for deep learning

I'm thinking about getting some new top of the line computer hardware, specifically a MacBook Pro from Apple. These have AMD Radeon Pro 5500M GPUs, which while a bit slower than something like an ...
12
votes
4answers
461 views

CUDA on Tesla V100 card

Context I am trying to run CUDALink with a Centos 6.10 Mathematica 12.0 [cuda 10.1]. Host has NVIDIA Corporation GV100GL [Tesla V100 PCIe 32GB] (rev a1) card ...
1
vote
0answers
42 views

NetTrain with Quadro

I have an Nvidia Quadro P620/PCIe/SSE2 graphics card on my linux box (Ubuntu 18.04): <<CUDALink` CUDAQ[] (*True*) CUDADriverVersion[] (* 390.116.0 *) But ...
1
vote
0answers
77 views

Re-train a neural network discarding its memory?

...
0
votes
0answers
317 views

GPU Computation AMD

I'm new to this forum even though it has helped me a lot over the last few months. I'm working on hypergeometric functions and want to use my GPU as support. I have a Radeon R9 390, but I can't get it ...
4
votes
1answer
205 views

Using GPU Computation in LearnDistribution

LearnDistribution has an option for RealNVP, which is directly training a neural network for the distribution. It also has an option for TargetDevice, however, it appears to do nothing. Take the ...
3
votes
2answers
282 views

Does Mathematica 12 support GT 730 CUDA?

I am getting the following error when I set the target device as GPU: NetTrain::trgdevegpu: TargetDevice -> GPU could not be used; a supported NVIDIA GPU was not found. If you are using an ...
1
vote
0answers
97 views

Is Wolfram Cloud going to support GPU training? [duplicate]

Is Wolfram Cloud going to support GPU training? Is there any other possibility for training a neural net (in WL) on a cloud like AWS, Floydhub, or so? I think this concerns lots of people.
3
votes
1answer
835 views

CUDA on Manjaro Linux (Arch)

I have been struggling getting CUDA to work on Mathematica 11.3 and Manjaro Linux (kernel 4.19.16-1-MANJARO). Trying some commands I get the following: ...
2
votes
0answers
68 views

NetTrain with GPU crashed

I tried to run NetTrain with TargetDevice->"GPU", and Mathematica crashed. I got the following message: When I executed ...
1
vote
0answers
109 views

CUDACCompilers[] returns an empty list

I have just installed Mathematica 11.3.0.0 on Windows 10 (Professional), with an NVIDIA GT 630M GPU on my Dell Inspiron. I have Visual Studio 2010 Express C++ Compiler installed on my system. I am ...
1
vote
0answers
53 views

Dimension of Grid in CUDAFunctionLoad for Matrix Multiplication

I want to do nonsquare matrix multiplication using CUDA The input is two matrices: a and b ...
0
votes
0answers
116 views

CUDAQ::internal: CUDALink experienced an internal error

I have Mathematica 11.0.0 installed on Windows 10, with an NVIDIA GT 630M GPU on my Dell Inspiron. I am trying to run the CUDA examples in the Help files. All of the setup functions for CUDALink work ...
5
votes
2answers
234 views

OpenCL compute large matrices

I am trying to compute a big matrix $C$, of size $M \times N$, using the elements of the input matrices $A$ and $B$. The matrix $A$ is of size $M\times4$ and the matrix $B$ is of the size $2\times N$. ...
2
votes
0answers
113 views

Whether Parallel computing or Gpu Computing can be performed for mathematica built-in functions? [closed]

I want to know how to run my mathematica code using GPU or parallel computing without any special coding besides using the original Mathematica code.
4
votes
0answers
266 views

Why doesn't NetTrain use GPU as TargetDevice?

I have a NetTrain call with the following parameters: tNet = NetTrain[inVecs -> outVecs, TargetDevice -> "GPU"]; But ...
2
votes
1answer
66 views

Target system specification is not available for NVIDIA CUDA Compiler installation

I Installed Mathematica correctly and it indeed found my GPU. My case is exactly the same as : the same issue link However, it is not answered. Does anyone know the reason? My case: ...
1
vote
1answer
313 views

Sparse matrices dot multiplication

I have two huge sparse matrices, and I am interested in dot multiplication them. But I have a memory issue so a notebook is a shutdown. I am using the 11.3 version. Any suggestion on how to avoid ...
6
votes
1answer
910 views

CUDA for linear equations

TLDR; Is there a way to solve linear equations of a sparse matrix (discretized laplace operator) efficiently using CUDALink in Mathematica? I didn't find a CUDALinearSolve or CUDAMatrixInverse or ...
1
vote
0answers
49 views

How to get command line for OpenCLFunctionLoad?

Is there a way how to get the command used to compile my OpenCL kernel, when I use OpenCLFunctionLoad[]? When I use ...
2
votes
0answers
847 views

Does Mathematica Rely More on CPU or GPU

I am surprised no one asked this before. I am getting a new laptop and I will be mainly using Mathematica more than anything else on it. When selecting a laptop, should I put more emphasis on CPU or ...
1
vote
1answer
213 views

Using library code (specifically curand) with CUDALink

...
10
votes
1answer
241 views

Can one use NetTrain with two Nvidia GPUs?

I am thinking of buying another GPU to accelerate my training. Will I be able to call NetTrain with both GPUs ("TargetDevice"-> {"GPU", All})? Or would it be ...
3
votes
1answer
165 views

CUDAQ[] returns false in Mathematica 10.0.2.0, Mac OS 10.13.2, CUDA Driver Version 387.99

CUDAQ[] returns False on my Mac OS 10.13.2. I typed Needs["CUDALink`"] and it returns no error. ...
3
votes
1answer
231 views

Why the GPU will cost more time when train the net

I'm in Windows 10 $Version 11.2.0 for Microsoft Windows (64-bit) (September 11, 2017) ...
11
votes
1answer
751 views

How to use an external GPU to train neural networks in Mathematica?

Taking steps in the uncharted territories of eGPUs, I have installed an NVIDIA GeForce Titan Xp GPU on an eGPU enclosure (Mantiz MZ-02) and have connected it to my laptop (HP Spectre x360 - 15-bl075nr ...
7
votes
1answer
467 views

Why I can only train some NetModel with GPU

I can train NetModel's models with CPU. I'm on Windows 10 with Mathematica 11.2 GPU is GTX1080 with 8G memory. My datasets is 1000 pictures with 224*224. I can train some NetModel like ...
4
votes
0answers
250 views

NetTrain throws internal error with large images as input (GPU)

I am training a convolutional Network with a dataset consisting of Images of the same size on my GPU (200x100 pixels, GTX 1080Ti). The images are previously resized with ...
2
votes
1answer
369 views

CUDALink and eGPU for Mac?

I have: MacBook Pro mid 2014 13" (i.e. just an onboard Intel graphics card) NVIDIA GeForce Titan X Akitio Node Thunderbolt 2 Cable Thunderbolt 2 to Thunderbolt 3 Adaptor I have installed the NVIDIA ...
4
votes
0answers
178 views

NetTrain with External GPU?

I'd like to use the new Neural Networks functionalities in v11 on my Macbook Pro, unfortunately, most macs do not have the supported Nvidia cards. However, there is the option for using an external E-...
1
vote
0answers
193 views

Wrong number of CUDA cores shown (GTX1070)

I installed the CUDA toolkit by directly obeying to the WRI instructions and use MMA 11.1.1.0 as well as the paclet version 10.5.0. While CUDA's deviceQuery sample ...
6
votes
1answer
716 views

CUDALink support-Mathematica 11

Greetings & Salutations, I have Mathematica 11.0 on a Windows 10(Home) system with a Nvidia GTX1050Ti gpu, driver version 382.33 and CUDA version 8.0.61; I am getting CUDALink is not supported ...
1
vote
0answers
257 views

Mma 11.1.1 does not recognize GPU

The newest version of Mma 11.1.1 advertises "Re-enabled GPU support for neural networks for Mac." But when I install on an Apple MacBook Pro with an NVIDIA GeForce GT 750M GPU, and I do: ...
4
votes
1answer
310 views

How to determine MMA/CUDA support for specific GPUs?

This question asked how to target an Nvidia GTX 1080 with MMA 11.0.1 (which is also my current version) and from the comments it is clear that the user was then able to use this card successfully even ...
5
votes
0answers
179 views

GPU Acceleration and the Predict function [duplicate]

With the Mathematica Predict function, does it automatically use GPU acceleration? For example, with NetTrain, one has to specify TargetDevice->"GPU" to show they want to perform the calculation on ...
7
votes
1answer
373 views

TargetDevice->“GPU” doesn't work in version 11.1 on mac

It seems that TargetDevice->"GPU" doesn't work for me in Mathematica version 11.1. I get an error message: ...
7
votes
2answers
823 views

TargetDevice->“GPU” fails even though a CUDA GPU exists

Similar question has already been asked, but in that case, the method didn't work due to OpenCL compatibility. I have an older CUDA card. Worked great with CUDALink in Mathematica 8: ...
2
votes
0answers
89 views

NetTrain with OpenCL [duplicate]

When working with NetTrain I get the following error: TargetDevice -> {GPU,0} could not be used, please ensure that you have a compatible graphics card and have installed CUDA drivers. Is it ...
12
votes
1answer
1k views

Configuring GPU for NetTrain

I currently have access to a system with two GPUs: GeForce GTX 1080 and Tesla K40c I would like to use this machine for training neural networks in Mathematica. When using the option ...