accelerInt
v0.1
|
Headers for GPU memory initialization. More...
#include "header.cuh"
Go to the source code of this file.
Classes | |
struct | van_der_pol_cu::mechanism_memory |
This struct is used to store memory for the CUDA RHS and Jacobian evaluation. Along with the solver_memory struct, this must be initialized and passed to the solvers the run. More... | |
Namespaces | |
van_der_pol_cu | |
Macros | |
#define | GPU_MEM_CUH |
Functions | |
size_t | van_der_pol_cu::required_mechanism_size () |
Calculates and returns the total memory size (in bytes) required by an individual thread for the mechanism_memory struct. More... | |
void | van_der_pol_cu::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 the struct to CUDA. More... | |
void | van_der_pol_cu::free_gpu_memory (mechanism_memory **h_mem, mechanism_memory **d_mem) |
Frees the host and device mechanism_memory structs. More... | |
Headers for GPU memory initialization.
Definition in file gpu_memory.cuh.
#define GPU_MEM_CUH |
Definition at line 8 of file gpu_memory.cuh.