Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ShawnZhong/CUDA-Programming-Starter-Kit

Repository files navigation

CUDA Programming Starter Kit

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.

VSCode

Usage

  1. Install the C/C++ Plugin https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools

  2. Clone this repo and open it in VSCode

Features

  • Autocomplete

  • Error Checking

  • Quick Documentation

CLion

Usage

  1. Open the preference and register the file extension *.cu and *.cuh as C/C++ files (See screenshot below)

  2. Clone this repo and open it in CLion

Features

  • Autocomplete

  • Error Checking

  • Quick Documentation

Known Issues

  • Do not support the <<</>>> syntax. Everything else is supported.

Tests

  • 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