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
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 ...
8
votes
1answer
640 views

Which GPUs does NetTrain work with?

NetTrain's option TargetDevice -> "GPU" works for old macbooks that have GEForce GT 750m cards (like mine), but what about other nvidia cards? Does it (or will ...
12
votes
1answer
932 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 ...
7
votes
2answers
665 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: ...
5
votes
0answers
875 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 ...
7
votes
1answer
401 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 ...
10
votes
1answer
229 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 ...
7
votes
1answer
186 views

A simple experiment to understand CUDAFunctionLoad

In an attempt to answer my own question (Beginner CUDA: two dimensional blocks and two dimensional threads?). Please excuse the long post, it contains for examples I constructed as an experiment to ...
3
votes
0answers
206 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 ...
11
votes
1answer
664 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 ...
3
votes
1answer
768 views

Are there any openCL test suites?

I have a new ATI gpu that I have been trying on 3 different distributed computing projects. I get errors on each work unit. The errors indicate No Protocol which could be caused by a bad environment ...
7
votes
1answer
350 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: ...
1
vote
0answers
168 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 ...