Skip to content

ShawnZhong/CUDA-Programming-Starter-Kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Maintenance Ask Me Anything ! PRs Welcome

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

    image-20200215232640853

  • Error Checking

    image-20200215234448029

  • Quick Documentation

    image-20200215234654292

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

    image-20200215235421482

Features

  • Autocomplete

    image-20200215232927428

  • Error Checking

    image-20200215233108863

  • Quick Documentation

    image-20200215234901712

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