- 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 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2021-6-3
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 ?
回答(1 个)
Walter Roberson
2021-6-4
- 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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with GPU Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!