File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed
simwave/kernel/backend/c_code/forward Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 22#include <stdlib.h>
33#include <time.h>
44#include <sys/time.h>
5- #include <omp.h>
5+
6+ #if defined(CPU_OPENMP ) || defined(GPU_OPENMP )
7+ #include <omp.h>
8+ #endif
69
710// use single (float) or double precision
811// according to the value passed in the compilation cmd
Original file line number Diff line number Diff line change 22#include <stdlib.h>
33#include <time.h>
44#include <sys/time.h>
5- #include <omp.h>
5+
6+ #if defined(CPU_OPENMP ) || defined(GPU_OPENMP )
7+ #include <omp.h>
8+ #endif
69
710// use single (float) or double precision
811// according to the value passed in the compilation cmd
Original file line number Diff line number Diff line change 22#include <stdlib.h>
33#include <time.h>
44#include <sys/time.h>
5- #include <omp.h>
5+
6+ #if defined(CPU_OPENMP ) || defined(GPU_OPENMP )
7+ #include <omp.h>
8+ #endif
69
710// use single (float) or double precision
811// according to the value passed in the compilation cmd
Original file line number Diff line number Diff line change 22#include <stdlib.h>
33#include <time.h>
44#include <sys/time.h>
5- #include <omp.h>
5+
6+ #if defined(CPU_OPENMP ) || defined(GPU_OPENMP )
7+ #include <omp.h>
8+ #endif
69
710// use single (float) or double precision
811// according to the value passed in the compilation cmd
You can’t perform that action at this time.
0 commit comments