cholla
src
cooling_wrapper.h
Go to the documentation of this file.
1
4
#ifdef CUDA
5
#ifdef CLOUDY_COOL
6
7
#ifndef COOLING_WRAPPER_H
8
#define COOLING_WRAPPER_H
9
10
#include"global.h"
11
12
/* \fn void Load_Cuda_Textures()
13
* \brief Load the Cloudy cooling tables into texture memory on the GPU. */
14
void
Load_Cuda_Textures();
15
16
/* \fn void Load_Cooling_Tables(float* cooling_table, float* heating_table)
17
* \brief Load the Cloudy cooling tables into host (CPU) memory. */
18
void
Load_Cooling_Tables(
float
* cooling_table,
float
* heating_table);
19
20
21
/* \fn void Free_Cuda_Textures()
22
* \brief Unbind the texture memory on the GPU, and free the associated Cuda arrays. */
23
void
Free_Cuda_Textures();
24
25
26
#endif
27
#endif
28
#endif
29
Generated by
1.8.12