BG_Flood
0.8
Documentation (Work-in-progress)
|
#include "Setup_GPU.h"
Functions | |
template<class T > | |
void | SetupGPU (Param &XParam, Model< T > XModel, Forcing< float > &XForcing, Model< T > &XModel_g) |
template void | SetupGPU< float > (Param &XParam, Model< float > XModel, Forcing< float > &XForcing, Model< float > &XModel_g) |
template void | SetupGPU< double > (Param &XParam, Model< double > XModel, Forcing< float > &XForcing, Model< double > &XModel_g) |
void | CUDA_CHECK (cudaError CUDerr) |
template<class T > | |
void | CopytoGPU (int nblk, int blksize, T *z_cpu, T *z_gpu) |
template void | CopytoGPU< bool > (int nblk, int blksize, bool *z_cpu, bool *z_gpu) |
template void | CopytoGPU< int > (int nblk, int blksize, int *z_cpu, int *z_gpu) |
template void | CopytoGPU< float > (int nblk, int blksize, float *z_cpu, float *z_gpu) |
template void | CopytoGPU< double > (int nblk, int blksize, double *z_cpu, double *z_gpu) |
template<class T > | |
void | CopyGPUtoCPU (int nblk, int blksize, T *z_cpu, T *z_gpu) |
template void | CopyGPUtoCPU< bool > (int nblk, int blksize, bool *z_cpu, bool *z_gpu) |
template void | CopyGPUtoCPU< int > (int nblk, int blksize, int *z_cpu, int *z_gpu) |
template void | CopyGPUtoCPU< float > (int nblk, int blksize, float *z_cpu, float *z_gpu) |
template void | CopyGPUtoCPU< double > (int nblk, int blksize, double *z_cpu, double *z_gpu) |
template<class T > | |
void | CopytoGPU (int nblk, int blksize, EvolvingP< T > XEv_cpu, EvolvingP< T > XEv_gpu) |
template void | CopytoGPU< float > (int nblk, int blksize, EvolvingP< float > XEv_cpu, EvolvingP< float > XEv_gpu) |
template void | CopytoGPU< double > (int nblk, int blksize, EvolvingP< double > XEv_cpu, EvolvingP< double > XEv_gpu) |
template<class T > | |
void | CopytoGPU (int nblk, int blksize, EvolvingP_M< T > XEv_cpu, EvolvingP_M< T > XEv_gpu) |
template void | CopytoGPU< float > (int nblk, int blksize, EvolvingP_M< float > XEv_cpu, EvolvingP_M< float > XEv_gpu) |
template void | CopytoGPU< double > (int nblk, int blksize, EvolvingP_M< double > XEv_cpu, EvolvingP_M< double > XEv_gpu) |
template<class T > | |
void | CopytoGPU (int nblk, int blksize, GradientsP< T > XGrad_cpu, GradientsP< T > XGrad_gpu) |
template void | CopytoGPU (int nblk, int blksize, GradientsP< float > XGrad_cpu, GradientsP< float > XGrad_gpu) |
template void | CopytoGPU (int nblk, int blksize, GradientsP< double > XGrad_cpu, GradientsP< double > XGrad_gpu) |
template<class T > | |
void | CopytoGPU (int nblk, int blksize, Param XParam, Model< T > XModel_cpu, Model< T > XModel_gpu) |
template void | CopytoGPU< float > (int nblk, int blksize, Param XParam, Model< float > XModel_cpu, Model< float > XModel_gpu) |
template void | CopytoGPU< double > (int nblk, int blksize, Param XParam, Model< double > XModel_cpu, Model< double > XModel_gpu) |
void | AllocateTEX (int nx, int ny, TexSetP &Tex, float *input) |
void | AllocateBndTEX (bndparam &side) |
void AllocateBndTEX | ( | bndparam & | side | ) |
void AllocateTEX | ( | int | nx, |
int | ny, | ||
TexSetP & | Tex, | ||
float * | input | ||
) |
void CopyGPUtoCPU | ( | int | nblk, |
int | blksize, | ||
T * | z_cpu, | ||
T * | z_gpu | ||
) |
template void CopyGPUtoCPU< bool > | ( | int | nblk, |
int | blksize, | ||
bool * | z_cpu, | ||
bool * | z_gpu | ||
) |
template void CopyGPUtoCPU< double > | ( | int | nblk, |
int | blksize, | ||
double * | z_cpu, | ||
double * | z_gpu | ||
) |
template void CopyGPUtoCPU< float > | ( | int | nblk, |
int | blksize, | ||
float * | z_cpu, | ||
float * | z_gpu | ||
) |
template void CopyGPUtoCPU< int > | ( | int | nblk, |
int | blksize, | ||
int * | z_cpu, | ||
int * | z_gpu | ||
) |
void CopytoGPU | ( | int | nblk, |
int | blksize, | ||
EvolvingP< T > | XEv_cpu, | ||
EvolvingP< T > | XEv_gpu | ||
) |
void CopytoGPU | ( | int | nblk, |
int | blksize, | ||
EvolvingP_M< T > | XEv_cpu, | ||
EvolvingP_M< T > | XEv_gpu | ||
) |
template void CopytoGPU | ( | int | nblk, |
int | blksize, | ||
GradientsP< double > | XGrad_cpu, | ||
GradientsP< double > | XGrad_gpu | ||
) |
template void CopytoGPU | ( | int | nblk, |
int | blksize, | ||
GradientsP< float > | XGrad_cpu, | ||
GradientsP< float > | XGrad_gpu | ||
) |
void CopytoGPU | ( | int | nblk, |
int | blksize, | ||
GradientsP< T > | XGrad_cpu, | ||
GradientsP< T > | XGrad_gpu | ||
) |
void CopytoGPU | ( | int | nblk, |
int | blksize, | ||
Param | XParam, | ||
Model< T > | XModel_cpu, | ||
Model< T > | XModel_gpu | ||
) |
void CopytoGPU | ( | int | nblk, |
int | blksize, | ||
T * | z_cpu, | ||
T * | z_gpu | ||
) |
template void CopytoGPU< bool > | ( | int | nblk, |
int | blksize, | ||
bool * | z_cpu, | ||
bool * | z_gpu | ||
) |
template void CopytoGPU< double > | ( | int | nblk, |
int | blksize, | ||
double * | z_cpu, | ||
double * | z_gpu | ||
) |
template void CopytoGPU< double > | ( | int | nblk, |
int | blksize, | ||
EvolvingP< double > | XEv_cpu, | ||
EvolvingP< double > | XEv_gpu | ||
) |
template void CopytoGPU< double > | ( | int | nblk, |
int | blksize, | ||
EvolvingP_M< double > | XEv_cpu, | ||
EvolvingP_M< double > | XEv_gpu | ||
) |
template void CopytoGPU< double > | ( | int | nblk, |
int | blksize, | ||
Param | XParam, | ||
Model< double > | XModel_cpu, | ||
Model< double > | XModel_gpu | ||
) |
template void CopytoGPU< float > | ( | int | nblk, |
int | blksize, | ||
EvolvingP< float > | XEv_cpu, | ||
EvolvingP< float > | XEv_gpu | ||
) |
template void CopytoGPU< float > | ( | int | nblk, |
int | blksize, | ||
EvolvingP_M< float > | XEv_cpu, | ||
EvolvingP_M< float > | XEv_gpu | ||
) |
template void CopytoGPU< float > | ( | int | nblk, |
int | blksize, | ||
float * | z_cpu, | ||
float * | z_gpu | ||
) |
template void CopytoGPU< float > | ( | int | nblk, |
int | blksize, | ||
Param | XParam, | ||
Model< float > | XModel_cpu, | ||
Model< float > | XModel_gpu | ||
) |
template void CopytoGPU< int > | ( | int | nblk, |
int | blksize, | ||
int * | z_cpu, | ||
int * | z_gpu | ||
) |
void CUDA_CHECK | ( | cudaError | CUDerr | ) |
void SetupGPU | ( | Param & | XParam, |
Model< T > | XModel, | ||
Forcing< float > & | XForcing, | ||
Model< T > & | XModel_g | ||
) |
template void SetupGPU< double > | ( | Param & | XParam, |
Model< double > | XModel, | ||
Forcing< float > & | XForcing, | ||
Model< double > & | XModel_g | ||
) |