int padded
Padded # of ODEs to solve. 
double * dy
The global state vector arrays. 
void initialize_gpu_memory(int padded, mechanism_memory **h_mem, mechanism_memory **d_mem)
Initializes the host and device mechanism_memory structs. This is required in order to enable passing...
void free_gpu_memory(mechanism_memory **h_mem, mechanism_memory **d_mem)
Frees the host and device mechanism_memory structs. 
This struct is used to store memory for the CUDA RHS and Jacobian evaluation. Along with the solver_m...
double * jac
The global param array [Used for ]. 
double * var
The global dydt vector arrays. 
size_t required_mechanism_size()
Calculates and returns the total memory size (in bytes) required by an individual thread for the mech...