cuda.h 509 Bytes
Newer Older
Nianchen Deng's avatar
sync    
Nianchen Deng committed
1
2
3
4
5
6
7
8
#include "cuda/index.h"
#include "cuda/error.h"
#include "cuda/event.h"
#include "cuda/stream.h"
#include "cuda/map_resources_scope.h"
#include "cuda/array.h"
#include "cuda/gl_texture.h"
#include "cuda/resources.h"
Nianchen Deng's avatar
sync    
Nianchen Deng committed
9
10
11
12
13
14
15
16
17

#ifdef __INTELLISENSE__
#define CU_INVOKE(__func__) __func__
#define CU_INVOKE1(__func__, __grdSize__, __blkSize__) __func__
#else
#define CU_INVOKE(__func__) __func__<<<grdSize, blkSize>>>
#define CU_INVOKE1(__func__, __grdSize__, __blkSize__) __func__<<<__grdSize__, __blkSize__>>>
#endif