accelerInt  v0.1
header.cuh
Go to the documentation of this file.
1 
7 #ifndef HEADER_GUARD_CUH
8 #define HEADER_GUARD_CUH
9 
10 #include <stdlib.h>
11 #include "gpu_macros.cuh"
12 #include "gou_memory.cuh"
13 
14 #ifdef GENERATE_DOCS
15 //put this in the van der Pol namespace for documentation
16 namespace van_der_pol_cu {
17 #endif
18 
20 #define NSP (2)
21 #define NN (NSP)
23 
32 void set_same_initial_conditions(int NUM, double** y_host, double** var_host);
33 
34 //dummy definitions that are used for pyJac
35 
42 void apply_mask(double* y_host);
49 void apply_reverse_mask(double* y_host);
50 
51 
52 #ifdef GENERATE_DOCS
53 }
54 #endif
55 
56 #endif
Defines some simple macros to simplify GPU indexing.
void apply_reverse_mask(double *y_host)
Not needed for van der Pol.
Definition: ics.cu:53
void apply_mask(double *y_host)
Not needed for van der Pol.
Definition: ics.cu:46
void set_same_initial_conditions(int NUM, double **y_host, double **var_host)
Set same ICs for all problems.
Definition: ics.cu:25