29 const char* name =
"rkc-gpu";
43 num_bytes +=
NSP *
sizeof(double);
45 num_bytes +=
NSP *
sizeof(double);
47 num_bytes += (4 +
NSP) *
sizeof(
double);
49 num_bytes += 4 *
NSP *
sizeof(double);
51 num_bytes += 1 *
sizeof(int);
int padded
Padded # of ODEs to solve.
Header definitions for solver initialization routins.
const char * solver_name()
Returns a descriptive solver name.
void createAndZero(void **ptr, size_t size)
Convienvience method to Cuda Malloc and memset a pointer to zero.
void initialize_solver(int num_threads)
Initializes the solver.
size_t required_solver_size()
Returns the total size (in bytes) required for memory storage for a single GPU thread Used in calcula...
void cleanup_solver(int num_threads)
Cleans up the created solvers.
#define cudaErrorCheck(ans)