CUDA programming with autocompletion, error-checking, jump-to-definition and quick documentation!
This repo provides basic functionalities for editing *.cu
and *.cuh
files without the need to install any dependencies (e.g., You don't need to install nvcc
, gcc
, clang
, msvc
, or any other toolchains).
If you want to compile, run, and/or debug CUDA programs, please install the CUDA Toolkit from here.
-
Install the C/C++ Plugin https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
-
Clone this repo and open it in VSCode
-
Open the preference and register the file extension
*.cu
and*.cuh
as C/C++ files (See screenshot below) -
Clone this repo and open it in CLion
- Do not support the
<<<
/>>>
syntax. Everything else is supported.
-
Tested on a fresh copy of Windows 10 (with no toolchains)
-
Tested on a fresh copy of Ubuntu 19.10 (with no toolchains)
-
Tested on macOS Catalina with Apple clang version 11.0.0
-
Tested on Windows 10 with MinGW GCC