32 const double * __restrict__ pr_global,
33 double * __restrict__ y_global,
34 const mechanism_memory * __restrict__ d_mem,
40 integrate (t, t_end, pr_global[
T_ID], d_mem->y, d_mem, s_mem);
__global__ void intDriver(const int NUM, const double t, const double t_end, const double *__restrict__ pr_global, double *__restrict__ y_global, const mechanism_memory *__restrict__ d_mem, const solver_memory *__restrict__ s_mem)
Generic driver for the GPU integrators.
#define T_ID
The global CUDA thread index.
Defines some simple macros to simplify GPU indexing.
__device__ void integrate(const double, const double, const double, double *const __restrict__, mechanism_memory const *const __restrict__, solver_memory const *const __restrict__)
the generic main file for all GPU solvers