Last active
August 23, 2018 03:19
-
-
Save raytroop/a8012509f8ef6b3a3b9aa4f47b354aea to your computer and use it in GitHub Desktop.
dummy header for cuda vscode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#ifdef __INTELLISENSE__ | |
void __syncthreads(); | |
#define KERNEL_ARG2(grid, block) | |
#define KERNEL_ARG3(grid, block, sh_mem) | |
#define KERNEL_ARG4(grid, block, sh_mem, stream) | |
#else | |
#define KERNEL_ARG2(grid, block) <<< grid, block >>> | |
#define KERNEL_ARG3(grid, block, sh_mem) <<< grid, block, sh_mem >>> | |
#define KERNEL_ARG4(grid, block, sh_mem, stream) <<< grid, block, sh_mem, stream >>> | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment