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

조회 수: 10 (최근 30일)
CaG
CaG 2019년 12월 3일
댓글: Joss Knight 2019년 12월 4일
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?

답변 (1개)

Joss Knight
Joss Knight 2019년 12월 4일
To accelerate your MATLAB code with an NVIDIA GPU, you do not need to install a C++ Compiler.
  댓글 수: 4
CaG
CaG 2019년 12월 4일
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 2019년 12월 4일
But you are writing the CUDA code entirely yourself? In which case you should be using mexcuda, not GPU Coder.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by