accelerInt  v0.1
solver_interface.cuh
Go to the documentation of this file.
1 
11 #ifndef SOLVER_INTERFACE_CUH
12 #define SOLVER_INTERFACE_CUH
13 
14 #include "solver.cuh"
15 #include "solver_init.cuh"
16 #include "launch_bounds.cuh"
17 #include "gpu_macros.cuh"
18 #include "gpu_memory.cuh"
19 #include "header.cuh"
20 #include "solver_props.cuh"
21 #include <stdio.h>
22 #include <float.h>
23 
24 #define EPS DBL_EPSILON
25 
26 #ifdef GENERATE_DOCS
27 namespace genericcu {
28 #endif
29 
35 void accelerInt_initialize(int NUM, int device);
36 
37 
49 void accelerInt_integrate(const int NUM, const double t_start, const double t_end, const double stepsize,
50  double * __restrict__ y_host, const double * __restrict__ var_host);
51 
55 void accelerInt_cleanup();
56 
57 
58 
59 
60 #ifdef GENERATE_DOCS
61 }
62 #endif
63 
64 
65 #endif
Defines some simple macros to simplify GPU indexing.
void accelerInt_integrate(const int NUM, const double t_start, const double t_end, const double stepsize, double *__restrict__ y_host, const double *__restrict__ var_host)
integrate NUM odes from time t_start to time t_end, using stepsizes of stepsize
Header definitions for solver initialization routins.
void accelerInt_initialize(int NUM, int device)
Initializes the solver.
simple convenience file to include the correct solver properties file
the generic main file for all GPU solvers
An example header file that defines system size, memory functions and other required methods for inte...
Headers for GPU memory initialization.
A number of definitions that control CUDA kernel launches.
void accelerInt_cleanup()
Cleans up the solver.