Which Visual Studio 2019 package should I install to work with CUDA?

10 visualizaciones (últimos 30 días)
CaG
CaG el 3 de Dic. de 2019
Comentada: Joss Knight el 4 de Dic. de 2019
I would like to use my nVidia GPU to speed up my computations. For this reason, I'd like to install CUDA with Microsoft Visual Studio 2019 Enterprise.
Unfortunately, Visual Studio 2019 has a lot of workloads and packages and I do not know which one I should install in order to use the GPU coder.
Is the "Desktop Development with C++" workload enough for this purpose or additional packages are required?

Respuestas (1)

Joss Knight
Joss Knight el 4 de Dic. de 2019
To accelerate your MATLAB code with an NVIDIA GPU, you do not need to install a C++ Compiler.
  4 comentarios
CaG
CaG el 4 de Dic. de 2019
I'd like to have a MEX file to be executed on the GPU. I do not think, for the kind of code I have, that PCT and gpuArray are enough.
Joss Knight
Joss Knight el 4 de Dic. de 2019
But you are writing the CUDA code entirely yourself? In which case you should be using mexcuda, not GPU Coder.

Iniciar sesión para comentar.

Categorías

Más información sobre GPU Computing en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by