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.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
25
votes
0answers
1k views

Nonlinear least squares on a GPU with Mathematica 9

Update: A Mathematica wrapper for (https://github.com/zitmen/cuLM) should allow for us to directly implement the Levenberg-Marquardt algorithm in CUDA for nonlinear least squares fitting. In a ...
5
votes
0answers
880 views

Beginner CUDA: two dimensional blocks and two dimensional threads?

This is a follow up question to: CUDA: setting grid dimensions. The purpose of the question is to understand how Mathematica is interfacing with CUDA's architecture. I have a related question/request ...
4
votes
0answers
251 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 ...
4
votes
0answers
205 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 ...
4
votes
0answers
171 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-...
3
votes
0answers
218 views

Looking for a working mathematica CUDA port of NVIDIA's nbody.cu

I am trying to extend an example that is provided as one of NVIDIA's prototypical examples: http://docs.nvidia.com/cuda/cuda-samples/index.html#cuda-n-body-simulation I'm trying, but haven't been ...
2
votes
0answers
60 views

NetTrain with GPU crashed

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

Can GPU (CUDA) speed up LinearSolve?

Is there a way to use GPU (CUDA) to speed up LinearSolve? GPU Cuda
2
votes
0answers
1k 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 ...
1
vote
0answers
31 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
60 views

Re-train a neural network discarding its memory?

...
1
vote
0answers
80 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
41 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 ...
1
vote
0answers
46 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 ...
1
vote
0answers
595 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
0answers
170 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 ...
1
vote
0answers
250 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: ...
1
vote
0answers
68 views

Help Getting GPU and the attached graphic monitor device information using CUDA or Open CL from Mathematica

My project is in the area of image analysis. I am analyzing the output of a projector attached to the computer running W Mathematica. Therefore, I will like to get information of the graphical device ...
1
vote
0answers
120 views

How to select default graphics device for charting?

Is there a way to tell Mathematica to use a specific graphics device for charting? My laptop has two graphics devices; an on-board Intel chip and a Nvidia graphics card. I noticed in Mathematica's ...
0
votes
0answers
150 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 ...
0
votes
0answers
21 views

Calling OpenCLFunction

Example from doc center (OpenCLLink/ref/OpenCLFunctionLoad): What do the underlined arguments mean? They do not exist in the function definition, but without them function calling does not work. ...
0
votes
0answers
20 views

Issue with OpenCLFunctionLoad

I tried to start computing on the GPU and ran into a problem (example from the Documentation Center): ...
0
votes
0answers
70 views

TargetDevice->“GPU” takes no effect in prediction of Classify and ClassifierMeasurements?

I can train the model with GPU via method->"NeuralNetwork" in Classify. I'm on Mathematica 12.0 and the problem also happens in 11.3. Is this a bug since 11.1 to 12.0? In training, GPU is faster ...
0
votes
0answers
83 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 ...