Programming Massively Parallel Processors
CUDA C++ Programming Guide
CUDA samples
CUDA Toolkit
Tensor RT
GTX 1650 - entry level
Alternatives
Koyeb
Vast.ai
Set CMAKE_CUDA_ARCHITECTURES
to the machine graphic card. For GeForce RTX 5070 the architecture is 70
.
On CLion add cuda-gdb
as a custom debugger in Settings | Build, Execution... | Toolchain and set Debugger to /usr/bin/cuda-gdb
This works in cuda-gdb but not in CLion
nvcc -g -G -o cmake-build-debug-cuda-debug/hello_main hello_main.cu
cuda-gdb ./cmake-build-debug-cuda-debug/hello_main