- Visual Studio 2019 16.x; or
- Visual Studio 2017 15.x (RTW and all updates)
Compile 32 bit dll for cuda on 64 bit MATLAB?
4 views (last 30 days)
Show older comments
Hello sir
i am compiling 32 bit dll on 64 bit MATLAB using link (Build 32-bit DLL on 64-bit Windows Platform Using MSVC Toolchain - MATLAB & Simulink (mathworks.com) ) , integrating it with labview 2019 (32 bit) and its working fine. However, i want to compile 32 bit cuda dll on 64 bit MATLAB (for reference i have build the 64 bit MATLAB dll of the same code using GPU coder app of MATLAB). Can anyone guide me how i can compile 32 bit dll of the same code using GPU coder or this (Build 32-bit DLL on 64-bit Windows Platform Using MSVC Toolchain - MATLAB & Simulink (mathworks.com) ) ?
2 Comments
Walter Roberson
on 3 Jun 2021
According to https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#x86-32-bit-support to cross-compile for x32 you will need:
and also that support is only provided for GeForce GPUs .
Could you confirm that you have VS 2019 or VS 2019, and that you are targetting a GeForce GPU ?
Answers (1)
Walter Roberson
on 4 Jun 2021
- Product type: GeForce
- Product series: GeForce RTX 20 Series
- Product: GeForce RTX 2060
- Operating System
... you will see that there are no drivers available for 32 bit Windows.
See Also
Categories
Find more on Get Started with GPU Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!