OpenNet
Kernel_CUDA.h
Aller à la documentation de ce fichier.
1 
2 // Product OpenNet
3 
9 
10 #pragma once
11 
12 // Macros
14 
15 #define OPEN_NET_CONSTANT __constant__
16 #define OPEN_NET_DEVICE __device__
17 #define OPEN_NET_GLOBAL
18 #define OPEN_NET_GLOBAL_MEMORY_FENCE __threadfence_system()
19 #define OPEN_NET_GROUP_ID blockIdx.x
20 #define OPEN_NET_KERNEL extern "C" __global__
21 #define OPEN_NET_PACKET_INDEX threadIdx.x
22 #define OPEN_NET_PACKET_QTY blockDim.x
23 #define OPEN_NET_SHARED __shared__