Crate cuda_setup

Crate cuda_setup 

Source
Expand description

Tutorial

When compiling, you must have this or equivalent in the PATH environment variable (Windows), or LD_LIBRARY_PATH1 (Linux): C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\Hostx64\x64`

You may also need the build tools containing cl.exe or similar in the path, e.g.: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64

Enums§

GpuArchitecture

Functions§

build_host
Build host-side CUDA files (not kernels0. This is useful, for example, for using cuFFT.
build_ptx
Call this in build.rs to compile the kernal.