Mercurial > hg > Members > menikon > CbC_xv6
comparison src/context.h @ 47:233a68a261fe
ifdef cbcxv6
author | mir3636 |
---|---|
date | Thu, 07 Mar 2019 19:42:27 +0900 |
parents | 087d7b61c86b |
children | fadfd62d6b14 |
comparison
equal
deleted
inserted
replaced
46:9647d79fe97e | 47:233a68a261fe |
---|---|
1 /* Context definition for llrb example */ | 1 /* Context definition for llrb example */ |
2 #ifndef CONTEXT_H | 2 #ifndef CONTEXT_H |
3 #define CONTEXT_H | 3 #define CONTEXT_H |
4 #ifdef CBCXV6 | |
5 | |
6 #else | |
4 #include <stdlib.h> | 7 #include <stdlib.h> |
5 #include <pthread.h> | 8 #include <pthread.h> |
9 #endif | |
6 #ifdef USE_CUDAWorker | 10 #ifdef USE_CUDAWorker |
7 #include <cuda.h> | 11 #include <cuda.h> |
8 #include <driver_types.h> | 12 #include <driver_types.h> |
9 #include <cuda_runtime.h> | 13 #include <cuda_runtime.h> |
10 #include "helper_cuda.h" | 14 #include "helper_cuda.h" |