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.h>
|
||||||
#include <cuda_runtime.h>
|
#include <cuda_runtime.h>
|
||||||
|
|
||||||
#if defined(__INTELLISENSE__)
|
#ifdef __INTELLISENSE__
|
||||||
/* reduce warnings */
|
/* reduce vstudio warnings (__byteperm, blockIdx...) */
|
||||||
#include <device_functions.h>
|
#include <device_functions.h>
|
||||||
#include <device_launch_parameters.h>
|
#include <device_launch_parameters.h>
|
||||||
|
#define __launch_bounds__(max_tpb, min_blocks)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user