XGC1
|
#include <scratch.hpp>
Public Types | |
enum | Layout { KokkosDefaultLayout = true } |
Public Member Functions | |
template<typename Device > | |
View< double *, CLayout, Device > | get_view (const std::string &label, int dim1) |
template<typename Device > | |
View< double **, CLayout, Device > | get_view (const std::string &label, int dim1, int dim2) |
template<typename Device > | |
View< double ***, CLayout, Device > | get_view (const std::string &label, int dim1, int dim2, int dim3) |
template<typename Device > | |
View< double ****, CLayout, Device > | get_view (const std::string &label, int dim1, int dim2, int dim3, int dim4) |
template<typename Device > | |
View< double *****, CLayout, Device > | get_view (const std::string &label, int dim1, int dim2, int dim3, int dim4, int dim5) |
template<typename Device > | |
View< double ******, CLayout, Device > | get_view (const std::string &label, int dim1, int dim2, int dim3, int dim4, int dim5, int dim6) |
template<typename Device > | |
View< double *, Device > | get_view (const std::string &label, int dim1, Layout kdl_true) |
template<typename Device > | |
View< double **, Device > | get_view (const std::string &label, int dim1, int dim2, Layout kdl_true) |
template<typename Device > | |
View< double ***, Device > | get_view (const std::string &label, int dim1, int dim2, int dim3, Layout kdl_true) |
template<typename Device > | |
View< double ****, Device > | get_view (const std::string &label, int dim1, int dim2, int dim3, int dim4, Layout kdl_true) |
template<typename Device > | |
View< double *****, Device > | get_view (const std::string &label, int dim1, int dim2, int dim3, int dim4, int dim5, Layout kdl_true) |
template<typename Device > | |
View< double ******, Device > | get_view (const std::string &label, int dim1, int dim2, int dim3, int dim4, int dim5, int dim6, Layout kdl_true) |
ScratchLock (Scratch *scratch) | |
KOKKOS_INLINE_FUNCTION | ScratchLock () |
KOKKOS_INLINE_FUNCTION | ~ScratchLock () |
KOKKOS_INLINE_FUNCTION | ScratchLock (const ScratchLock &other) |
ScratchLock & | operator= (const ScratchLock &other) |
Private Member Functions | |
template<typename Device > | |
double * | get_ptr (size_t view_size) |
Private Attributes | |
Scratch * | scratch_ |
size_t | allocation_size_ |
size_t | allocation_offset_ |
bool | is_device_ |
bool | used_scratch_ |
bool | is_used_ |
enum ScratchLock::Layout |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
template View< double *, CLayout, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1 | ||
) |
template View< double **, CLayout, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2 | ||
) |
template View< double ***, CLayout, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2, | ||
int | dim3 | ||
) |
template View< double ****, CLayout, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2, | ||
int | dim3, | ||
int | dim4 | ||
) |
template View< double *****, CLayout, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2, | ||
int | dim3, | ||
int | dim4, | ||
int | dim5 | ||
) |
template View< double ******, CLayout, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2, | ||
int | dim3, | ||
int | dim4, | ||
int | dim5, | ||
int | dim6 | ||
) |
template View< double ******, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2, | ||
int | dim3, | ||
int | dim4, | ||
int | dim5, | ||
int | dim6, | ||
Layout | kdl_true | ||
) |
template View< double *****, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2, | ||
int | dim3, | ||
int | dim4, | ||
int | dim5, | ||
Layout | kdl_true | ||
) |
template View< double ****, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2, | ||
int | dim3, | ||
int | dim4, | ||
Layout | kdl_true | ||
) |
template View< double ***, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2, | ||
int | dim3, | ||
Layout | kdl_true | ||
) |
template View< double **, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
int | dim2, | ||
Layout | kdl_true | ||
) |
template View< double *, DeviceType > ScratchLock::get_view< DeviceType > | ( | const std::string & | label, |
int | dim1, | ||
Layout | kdl_true | ||
) |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |