vstudio: fix launch_bounds intellisense warnings in ide
This commit is contained in:
parent
8046284843
commit
987edf63f3
@ -4,10 +4,11 @@
|
||||
#include <cuda.h>
|
||||
#include <cuda_runtime.h>
|
||||
|
||||
#if defined(__INTELLISENSE__)
|
||||
/* reduce warnings */
|
||||
#ifdef __INTELLISENSE__
|
||||
/* reduce vstudio warnings (__byteperm, blockIdx...) */
|
||||
#include <device_functions.h>
|
||||
#include <device_launch_parameters.h>
|
||||
#define __launch_bounds__(max_tpb, min_blocks)
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user