SIRIUS 7.5.0
Electronic structure library and applications
Functions | Variables
checksum.cu File Reference

Compute checkum on GPU. More...

Go to the source code of this file.

Functions

template<typename T >
__global__ void add_checksum_gpu_kernel (gpu_complex_type< T > const *ptr__, int ld__, int n__, gpu_complex_type< T > *result__)
 
void add_checksum_gpu_double (acc_complex_double_t *ptr__, int ld__, int nrow__, int ncol__, acc_complex_double_t *result__)
 
void add_checksum_gpu_float (acc_complex_float_t *ptr__, int ld__, int nrow__, int ncol__, acc_complex_float_t *result__)
 

Variables

sirius::acc_stream_t * streams
 

Detailed Description

Compute checkum on GPU.

Definition in file checksum.cu.

Function Documentation

◆ add_checksum_gpu_kernel()

template<typename T >
__global__ void add_checksum_gpu_kernel ( gpu_complex_type< T > const *  ptr__,
int  ld__,
int  n__,
gpu_complex_type< T > *  result__ 
)

Definition at line 35 of file checksum.cu.

◆ add_checksum_gpu_double()

void add_checksum_gpu_double ( acc_complex_double_t *  ptr__,
int  ld__,
int  nrow__,
int  ncol__,
acc_complex_double_t *  result__ 
)

Definition at line 70 of file checksum.cu.

◆ add_checksum_gpu_float()

void add_checksum_gpu_float ( acc_complex_float_t *  ptr__,
int  ld__,
int  nrow__,
int  ncol__,
acc_complex_float_t *  result__ 
)

Definition at line 79 of file checksum.cu.