ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Parallel_Common::object_cpu_point< T, Device > Struct Template Reference

#include <parallel_device.h>

Collaboration diagram for Parallel_Common::object_cpu_point< T, Device >:

Public Member Functions

T * get_buffer (const T *object, const int &n, T *tmp_space=nullptr)
T * get (const T *object, const int &n, T *tmp_space=nullptr)
void del (T *object)
void sync_d2h (T *object_cpu, const T *object, const int &n)
void sync_h2d (T *object, const T *object_cpu, const int &n)

Public Attributes

bool alloc = false

Member Function Documentation

◆ del()

template<typename T, typename Device>
void Parallel_Common::object_cpu_point< T, Device >::del ( T * object)
Here is the caller graph for this function:

◆ get()

template<typename T, typename Device>
T * Parallel_Common::object_cpu_point< T, Device >::get ( const T * object,
const int & n,
T * tmp_space = nullptr )
Here is the caller graph for this function:

◆ get_buffer()

template<typename T, typename Device>
T * Parallel_Common::object_cpu_point< T, Device >::get_buffer ( const T * object,
const int & n,
T * tmp_space = nullptr )
Here is the caller graph for this function:

◆ sync_d2h()

template<typename T, typename Device>
void Parallel_Common::object_cpu_point< T, Device >::sync_d2h ( T * object_cpu,
const T * object,
const int & n )

◆ sync_h2d()

template<typename T, typename Device>
void Parallel_Common::object_cpu_point< T, Device >::sync_h2d ( T * object,
const T * object_cpu,
const int & n )
Here is the caller graph for this function:

Member Data Documentation

◆ alloc

template<typename T, typename Device>
bool Parallel_Common::object_cpu_point< T, Device >::alloc = false

The documentation for this struct was generated from the following file: