Commit acb9b19b authored by ccfd's avatar ccfd
Browse files

...

parent eaa5a408
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
extern "C"{ extern "C"{
#endif #endif
/*
#ifdef DEBUG_MODE #ifdef DEBUG_MODE
#include "stdio.h" #include "stdio.h"
#define CUDA_CALL(CALL) \ #define CUDA_CALL(CALL) \
...@@ -23,10 +22,10 @@ extern "C"{ ...@@ -23,10 +22,10 @@ extern "C"{
MPI_Abort(((MPI_Comm)0x44000000) , 1);\ MPI_Abort(((MPI_Comm)0x44000000) , 1);\
}\ }\
} }
#else*/ #else
#define CUDA_CALL(CALL) CALL; #define CUDA_CALL(CALL) CALL;
//#endif #endif
/*
#ifdef DEBUG_MODE #ifdef DEBUG_MODE
#include "stdio.h" #include "stdio.h"
#define CUDA_LAUNCH(call)\ #define CUDA_LAUNCH(call)\
...@@ -40,10 +39,10 @@ extern "C"{ ...@@ -40,10 +39,10 @@ extern "C"{
MPI_Abort(((MPI_Comm)0x44000000) , 1);\ MPI_Abort(((MPI_Comm)0x44000000) , 1);\
}\ }\
} }
#else*/ #else
#define CUDA_LAUNCH(call)\ #define CUDA_LAUNCH(call)\
call; call;
//#endif #endif
typedef struct cudaField_ { typedef struct cudaField_ {
REAL * ptr; REAL * ptr;
......
No preview for this file type
No preview for this file type
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment