#include <grid_hip_context.h>
|
| grid_info () |
|
| grid_info (const int *full_size__, const int *local_size__, const int *border_width__) |
|
| ~grid_info () |
|
T * | data () |
|
void | copy_to_gpu (const T *data, offloadStream_t &stream) |
|
void | copy_to_gpu (offloadStream_t &stream) |
|
void | reset () |
|
void | resize (const int *full_size__, const int *local_size__, const int *const roffset__, const int *const border_width__) |
|
size_t | size () const |
|
void | zero (offloadStream_t &stream) |
|
gpu_vector< T > & | grid () |
|
void | set_lattice_vectors (const double *dh__, const double *dh_inv__) |
|
T * | dh () |
|
T * | dh_inv () |
|
bool | is_orthorhombic () |
|
void | is_distributed (const bool distributed__) |
|
void | check_orthorhombicity (const bool ortho) |
|
void | copy_to_host (double *data__, offloadStream_t &stream) |
|
void | copy_to_host (offloadStream_t &stream) |
|
void | associate (void *host_ptr__, void *device_ptr__, const size_t size__) |
|
bool | is_distributed () |
|
int | full_size (const int i) |
|
int | local_size (const int i) |
|
int | lower_corner (const int i) |
|
int | border_width (const int i) |
|
template<typename T>
class rocm_backend::grid_info< T >
Definition at line 174 of file grid_hip_context.h.
◆ grid_info() [1/2]
◆ grid_info() [2/2]
template<typename T >
rocm_backend::grid_info< T >::grid_info |
( |
const int * |
full_size__, |
|
|
const int * |
local_size__, |
|
|
const int * |
border_width__ |
|
) |
| |
|
inline |
◆ ~grid_info()
◆ data()
◆ copy_to_gpu() [1/2]
◆ copy_to_gpu() [2/2]
◆ reset()
◆ resize()
template<typename T >
void rocm_backend::grid_info< T >::resize |
( |
const int * |
full_size__, |
|
|
const int * |
local_size__, |
|
|
const int *const |
roffset__, |
|
|
const int *const |
border_width__ |
|
) |
| |
|
inline |
◆ size()
◆ zero()
◆ grid()
◆ set_lattice_vectors()
◆ dh()
◆ dh_inv()
◆ is_orthorhombic()
◆ is_distributed() [1/2]
◆ check_orthorhombicity()
◆ copy_to_host() [1/2]
◆ copy_to_host() [2/2]
◆ associate()
◆ is_distributed() [2/2]
◆ full_size()
◆ local_size()
◆ lower_corner()
◆ border_width()
The documentation for this class was generated from the following file: