29 const char* name =
"radau2a-int-gpu";
43 num_bytes +=
NSP *
NSP *
sizeof(double);
45 num_bytes +=
NSP *
NSP *
sizeof(cuDoubleComplex);
47 num_bytes +=
NSP *
sizeof(double);
49 num_bytes += 2 *
NSP *
sizeof(int);
51 num_bytes += 6 *
NSP *
sizeof(double);
53 num_bytes += 3 *
NSP *
sizeof(double);
55 num_bytes +=
NSP *
sizeof(double);
57 num_bytes += 3 *
NSP *
sizeof(double);
59 num_bytes +=
NSP *
sizeof(double);
61 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)