accelerInt  v0.1
Classes | Namespaces | Macros | Functions
gpu_memory.cuh File Reference

Headers for GPU memory initialization. More...

#include "header.cuh"
Include dependency graph for gpu_memory.cuh:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Headers for GPU memory initialization.

Definition in file gpu_memory.cuh.

Macro Definition Documentation

◆ GPU_MEM_CUH

#define GPU_MEM_CUH

Definition at line 8 of file gpu_memory.cuh.