#include <grid_gpu_context.h>
|
| | grid_info (const grid_info &)=delete |
| |
| grid_info & | operator= (const grid_info &)=delete |
| |
| | grid_info (grid_info &&) noexcept=default |
| |
| grid_info & | operator= (grid_info &&) noexcept=default |
| |
| | grid_info () |
| |
| | grid_info (const int *full_size__, const int *local_size__, const int *border_width__) |
| |
| | ~grid_info ()=default |
| |
| 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) |
| |
| void | set_lattice_vectors (const T *dh__, const T *dh_inv__) |
| |
| void | is_distributed (const bool distributed__) |
| |
| void | check_orthogonality (const bool ortho) |
| | Check if the lattice vectors form a orthogonal basis.
|
| |
| void | copy_to_host (T *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 () |
| |
| int3 & | full_size () |
| |
| int3 & | local_size () |
| |
| int3 & | lower_corner () |
| |
| int3 & | border_width () |
| |
| T * | data () |
| |
| const T * | data () const |
| |
| gpu_vector< T > & | grid () |
| |
| const gpu_vector< T > & | grid () const |
| |
| T * | dh () |
| |
| const T * | dh () const |
| |
| T * | dh_inv () |
| |
| const T * | dh_inv () const |
| |
| bool | is_orthogonal () const |
| |
| bool | is_distributed () const |
| |
template<typename T>
class rocm_backend::grid_info< T >
Definition at line 216 of file grid_gpu_context.h.
◆ grid_info() [1/4]
◆ grid_info() [2/4]
◆ grid_info() [3/4]
◆ grid_info() [4/4]
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()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ 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()
◆ set_lattice_vectors()
◆ is_distributed() [1/3]
◆ check_orthogonality()
◆ copy_to_host() [1/2]
◆ copy_to_host() [2/2]
◆ associate()
◆ is_distributed() [2/3]
◆ full_size()
◆ local_size()
◆ lower_corner()
◆ border_width()
◆ data() [1/2]
◆ data() [2/2]
◆ grid() [1/2]
◆ grid() [2/2]
◆ dh() [1/2]
◆ dh() [2/2]
◆ dh_inv() [1/2]
◆ dh_inv() [2/2]
◆ is_orthogonal()
◆ is_distributed() [3/3]
The documentation for this class was generated from the following file: