ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
container::kernels Namespace Reference

Classes

struct  blas_copy< T, DEVICE_CPU >
struct  blas_nrm2< T, DEVICE_CPU >
struct  blas_dot< T, DEVICE_CPU >
struct  blas_scal< T, DEVICE_CPU >
struct  blas_axpy< T, DEVICE_CPU >
struct  blas_gemv< T, DEVICE_CPU >
struct  blas_gemv_batched< T, DEVICE_CPU >
struct  blas_gemv_batched_strided< T, DEVICE_CPU >
struct  blas_gemm< T, DEVICE_CPU >
struct  blas_gemm_batched< T, DEVICE_CPU >
struct  blas_gemm_batched_strided< T, DEVICE_CPU >
struct  blas_copy
struct  blas_nrm2
struct  blas_dot
struct  blas_scal
struct  blas_axpy
struct  blas_gemv
struct  blas_gemv_batched
struct  blas_gemv_batched_strided
struct  blas_gemm
struct  blas_gemm_batched
struct  blas_gemm_batched_strided
struct  set_matrix< T, DEVICE_CPU >
struct  lapack_trtri< T, DEVICE_CPU >
struct  lapack_potrf< T, DEVICE_CPU >
struct  lapack_getrf< T, DEVICE_CPU >
struct  lapack_getri< T, DEVICE_CPU >
struct  lapack_geqrf_inplace< T, DEVICE_CPU >
struct  lapack_getrs< T, DEVICE_CPU >
struct  lapack_heevd< T, DEVICE_CPU >
struct  lapack_heevx< T, DEVICE_CPU >
struct  lapack_hegvd< T, DEVICE_CPU >
struct  lapack_hegvx< T, DEVICE_CPU >
struct  set_matrix
struct  lapack_trtri
struct  lapack_potrf
struct  lapack_getrf
struct  lapack_getri
struct  lapack_geqrf_inplace
struct  lapack_getrs
struct  lapack_heevd
struct  lapack_heevx
struct  lapack_hegvd
struct  lapack_hegvx
struct  add
struct  mul
struct  div
struct  fma
struct  transpose
struct  stride
struct  inflate
struct  reduce
struct  resize_memory
 A functor to resize memory allocation. More...
struct  set_memory
 A functor to set memory to a constant value. More...
struct  synchronize_memory
 Synchronizes memory between devices. More...
struct  synchronize_memory_stride
struct  cast_memory
 Casts memory between devices. More...
struct  delete_memory
 Deletes memory on a device. More...
struct  resize_memory< T, DEVICE_CPU >
struct  set_memory< T, DEVICE_CPU >
struct  synchronize_memory< T, DEVICE_CPU, DEVICE_CPU >
struct  cast_memory< T_out, T_in, DEVICE_CPU, DEVICE_CPU >
struct  delete_memory< T, DEVICE_CPU >
struct  resize_memory< T, DEVICE_GPU >
struct  set_memory< T, DEVICE_GPU >
struct  synchronize_memory< T, DEVICE_GPU, DEVICE_GPU >
struct  synchronize_memory< T, DEVICE_GPU, DEVICE_CPU >
struct  synchronize_memory< T, DEVICE_CPU, DEVICE_GPU >
struct  cast_memory< T_out, T_in, DEVICE_GPU, DEVICE_GPU >
struct  cast_memory< T_out, T_in, DEVICE_GPU, DEVICE_CPU >
struct  cast_memory< T_out, T_in, DEVICE_CPU, DEVICE_GPU >
struct  delete_memory< T, DEVICE_GPU >
class  BlasTest
class  LapackTest
class  LinalgTest
class  MemoryTest

Functions

double get_real (const std::complex< double > &x)
float get_real (const std::complex< float > &x)
double get_real (const double &x)
float get_real (const float &x)
 TYPED_TEST_SUITE (BlasTest, base::utils::Types)
 TYPED_TEST (BlasTest, Copy)
 TYPED_TEST (BlasTest, Nrm2)
 TYPED_TEST (BlasTest, Dot)
 TYPED_TEST (BlasTest, Scal)
 TYPED_TEST (BlasTest, Axpy)
 TYPED_TEST (BlasTest, Gemv)
 TYPED_TEST (BlasTest, GemvBatched)
 TYPED_TEST (BlasTest, GemvBatchedStrided)
 TYPED_TEST (BlasTest, Gemm)
 TYPED_TEST (BlasTest, GemmBatched)
 TYPED_TEST (BlasTest, GemmBatchedStrided)
 TYPED_TEST_SUITE (LapackTest, base::utils::Types)
 TYPED_TEST (LapackTest, Trtri)
 TYPED_TEST (LapackTest, Potrf)
 TYPED_TEST (LapackTest, GetrfGetriGetrs)
 TYPED_TEST (LapackTest, GeqrfInPlace)
 TYPED_TEST (LapackTest, heevd)
 TYPED_TEST (LapackTest, heevx)
 TYPED_TEST (LapackTest, hegvd)
 TYPED_TEST (LapackTest, hegvx)
 TYPED_TEST_SUITE (LinalgTest, base::utils::Types)
 TYPED_TEST (LinalgTest, Add)
 TYPED_TEST (LinalgTest, Mul)
 TYPED_TEST (LinalgTest, Div)
 TYPED_TEST (LinalgTest, Fma)
 TYPED_TEST (LinalgTest, Transpose)
 TYPED_TEST (LinalgTest, Stride)
 TYPED_TEST (LinalgTest, Inflate)
 TYPED_TEST (LinalgTest, Reduce)
template<typename T>
void test_integer_linalg_kernels ()
 TEST (LinalgIntegerTest, CoversIntegerKernelInstantiations)
 TYPED_TEST_SUITE (MemoryTest, base::utils::Types)
 TYPED_TEST (MemoryTest, ResizeAndSynchronizeMemory)
 TYPED_TEST (MemoryTest, SetMemory)
 TYPED_TEST (MemoryTest, CastAndDeleteMemory)
template<typename T>
void test_cpu_memory_operations (const T &value)
 TEST (MemoryTestCPU, IntegerAndComplexInstantiations)
template<typename Output, typename Input>
void test_cpu_cast (const Input &input, const Output &expected)
 TEST (MemoryTestCPU, CoversAllCastInstantiations)
template<typename T>
void test_gpu_placeholder_operations ()
template<typename Output, typename Input>
void test_gpu_placeholder_casts ()
 TEST (MemoryTestGPUPlaceholder, CoversNoAcceleratorInstantiations)

Function Documentation

◆ get_real() [1/4]

double container::kernels::get_real ( const double & x)
inline

◆ get_real() [2/4]

float container::kernels::get_real ( const float & x)
inline

◆ get_real() [3/4]

double container::kernels::get_real ( const std::complex< double > & x)
inline
Here is the caller graph for this function:

◆ get_real() [4/4]

float container::kernels::get_real ( const std::complex< float > & x)
inline

◆ TEST() [1/4]

container::kernels::TEST ( LinalgIntegerTest ,
CoversIntegerKernelInstantiations  )
Here is the call graph for this function:

◆ TEST() [2/4]

container::kernels::TEST ( MemoryTestCPU ,
CoversAllCastInstantiations  )
Here is the call graph for this function:

◆ TEST() [3/4]

container::kernels::TEST ( MemoryTestCPU ,
IntegerAndComplexInstantiations  )
Here is the call graph for this function:

◆ TEST() [4/4]

container::kernels::TEST ( MemoryTestGPUPlaceholder ,
CoversNoAcceleratorInstantiations  )
Here is the call graph for this function:

◆ test_cpu_cast()

template<typename Output, typename Input>
void container::kernels::test_cpu_cast ( const Input & input,
const Output & expected )
Here is the caller graph for this function:

◆ test_cpu_memory_operations()

template<typename T>
void container::kernels::test_cpu_memory_operations ( const T & value)
Here is the caller graph for this function:

◆ test_gpu_placeholder_casts()

template<typename Output, typename Input>
void container::kernels::test_gpu_placeholder_casts ( )
Here is the caller graph for this function:

◆ test_gpu_placeholder_operations()

template<typename T>
void container::kernels::test_gpu_placeholder_operations ( )
Here is the caller graph for this function:

◆ test_integer_linalg_kernels()

template<typename T>
void container::kernels::test_integer_linalg_kernels ( )
Here is the caller graph for this function:

◆ TYPED_TEST() [1/30]

container::kernels::TYPED_TEST ( BlasTest ,
Axpy  )
Here is the call graph for this function:

◆ TYPED_TEST() [2/30]

container::kernels::TYPED_TEST ( BlasTest ,
Copy  )
Here is the call graph for this function:

◆ TYPED_TEST() [3/30]

container::kernels::TYPED_TEST ( BlasTest ,
Dot  )
Here is the call graph for this function:

◆ TYPED_TEST() [4/30]

container::kernels::TYPED_TEST ( BlasTest ,
Gemm  )
Here is the call graph for this function:

◆ TYPED_TEST() [5/30]

container::kernels::TYPED_TEST ( BlasTest ,
GemmBatched  )
Here is the call graph for this function:

◆ TYPED_TEST() [6/30]

container::kernels::TYPED_TEST ( BlasTest ,
GemmBatchedStrided  )
Here is the call graph for this function:

◆ TYPED_TEST() [7/30]

container::kernels::TYPED_TEST ( BlasTest ,
Gemv  )
Here is the call graph for this function:

◆ TYPED_TEST() [8/30]

container::kernels::TYPED_TEST ( BlasTest ,
GemvBatched  )
Here is the call graph for this function:

◆ TYPED_TEST() [9/30]

container::kernels::TYPED_TEST ( BlasTest ,
GemvBatchedStrided  )
Here is the call graph for this function:

◆ TYPED_TEST() [10/30]

container::kernels::TYPED_TEST ( BlasTest ,
Nrm2  )
Here is the call graph for this function:

◆ TYPED_TEST() [11/30]

container::kernels::TYPED_TEST ( BlasTest ,
Scal  )
Here is the call graph for this function:

◆ TYPED_TEST() [12/30]

container::kernels::TYPED_TEST ( LapackTest ,
GeqrfInPlace  )
Here is the call graph for this function:

◆ TYPED_TEST() [13/30]

container::kernels::TYPED_TEST ( LapackTest ,
GetrfGetriGetrs  )

◆ TYPED_TEST() [14/30]

container::kernels::TYPED_TEST ( LapackTest ,
heevd  )
Here is the call graph for this function:

◆ TYPED_TEST() [15/30]

container::kernels::TYPED_TEST ( LapackTest ,
heevx  )
Here is the call graph for this function:

◆ TYPED_TEST() [16/30]

container::kernels::TYPED_TEST ( LapackTest ,
hegvd  )
Here is the call graph for this function:

◆ TYPED_TEST() [17/30]

container::kernels::TYPED_TEST ( LapackTest ,
hegvx  )
Here is the call graph for this function:

◆ TYPED_TEST() [18/30]

container::kernels::TYPED_TEST ( LapackTest ,
Potrf  )
Here is the call graph for this function:

◆ TYPED_TEST() [19/30]

container::kernels::TYPED_TEST ( LapackTest ,
Trtri  )
Here is the call graph for this function:

◆ TYPED_TEST() [20/30]

container::kernels::TYPED_TEST ( LinalgTest ,
Add  )
Here is the call graph for this function:

◆ TYPED_TEST() [21/30]

container::kernels::TYPED_TEST ( LinalgTest ,
Div  )
Here is the call graph for this function:

◆ TYPED_TEST() [22/30]

container::kernels::TYPED_TEST ( LinalgTest ,
Fma  )
Here is the call graph for this function:

◆ TYPED_TEST() [23/30]

container::kernels::TYPED_TEST ( LinalgTest ,
Inflate  )
Here is the call graph for this function:

◆ TYPED_TEST() [24/30]

container::kernels::TYPED_TEST ( LinalgTest ,
Mul  )
Here is the call graph for this function:

◆ TYPED_TEST() [25/30]

container::kernels::TYPED_TEST ( LinalgTest ,
Reduce  )
Here is the call graph for this function:

◆ TYPED_TEST() [26/30]

container::kernels::TYPED_TEST ( LinalgTest ,
Stride  )
Here is the call graph for this function:

◆ TYPED_TEST() [27/30]

container::kernels::TYPED_TEST ( LinalgTest ,
Transpose  )
Here is the call graph for this function:

◆ TYPED_TEST() [28/30]

container::kernels::TYPED_TEST ( MemoryTest ,
CastAndDeleteMemory  )
Here is the call graph for this function:

◆ TYPED_TEST() [29/30]

container::kernels::TYPED_TEST ( MemoryTest ,
ResizeAndSynchronizeMemory  )
Here is the call graph for this function:

◆ TYPED_TEST() [30/30]

container::kernels::TYPED_TEST ( MemoryTest ,
SetMemory  )
Here is the call graph for this function:

◆ TYPED_TEST_SUITE() [1/4]

container::kernels::TYPED_TEST_SUITE ( BlasTest ,
base::utils::Types  )

◆ TYPED_TEST_SUITE() [2/4]

container::kernels::TYPED_TEST_SUITE ( LapackTest ,
base::utils::Types  )

◆ TYPED_TEST_SUITE() [3/4]

container::kernels::TYPED_TEST_SUITE ( LinalgTest ,
base::utils::Types  )

◆ TYPED_TEST_SUITE() [4/4]

container::kernels::TYPED_TEST_SUITE ( MemoryTest ,
base::utils::Types  )