accelerInt  v0.1
Namespaces | Functions
gpu_memory.cu File Reference

Initializes and calculates required GPU memory. More...

#include "gpu_memory.cuh"
Include dependency graph for gpu_memory.cu:

Go to the source code of this file.

Namespaces

 van_der_pol_cu
 

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

Initializes and calculates required GPU memory.

Definition in file gpu_memory.cu.