paint-brush
Compiling CUDA File in VS Code [A How-To Guide]by@SoulCollector
8,661 reads
8,661 reads

Compiling CUDA File in VS Code [A How-To Guide]

by Kshiteej1mApril 12th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Compiling CUDA File in VS Code is not supported in the VS Code natively. This can be a issue if you want to compile and debug (atleast the CPU part of the file as kernel debugging is not currently supported in VS code at the moment. The procedure to do that is fairly simple. In your project, hit F5F5/F5 and you'll get the below pop-up. The default compiler chosen (if GCC) won't work as the default compiler won't understand CUDA extensions.
featured image - Compiling CUDA File in VS Code [A How-To Guide]
Kshiteej HackerNoon profile picture
Kshiteej

Kshiteej

@SoulCollector

L O A D I N G
. . . comments & more!

About Author

Kshiteej HackerNoon profile picture
Kshiteej@SoulCollector

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite