SIRIUS 7.5.0
Electronic structure library and applications
Functions
scale_matrix.cu File Reference

Contains implementation of CUDA kernels to scale matrix elements (rows or columns). More...

Go to the source code of this file.

Functions

template<typename T >
__global__ void scale_matrix_columns_gpu_kernel (int nrow, gpu_complex_type< T > *mtrx, T *a)
 
template<>
__global__ void scale_matrix_columns_gpu_kernel< double > (int nrow, acc_complex_double_t *mtrx, double *a)
 
template<>
__global__ void scale_matrix_columns_gpu_kernel< float > (int nrow, acc_complex_float_t *mtrx, float *a)
 
void scale_matrix_columns_gpu_double (int nrow, int ncol, acc_complex_double_t *mtrx, double *a)
 
void scale_matrix_columns_gpu_float (int nrow, int ncol, acc_complex_float_t *mtrx, float *a)
 
__global__ void scale_matrix_rows_gpu_kernel (int nrow__, acc_complex_double_t *mtrx__, double const *v__)
 
void scale_matrix_rows_gpu (int nrow__, int ncol__, acc_complex_double_t *mtrx__, double const *v__)
 
__global__ void scale_matrix_elements_gpu_kernel (acc_complex_double_t *mtrx__, int ld__, int nrow__, double beta__)
 
void scale_matrix_elements_gpu (acc_complex_double_t *ptr__, int ld__, int nrow__, int ncol__, double beta__)
 

Detailed Description

Contains implementation of CUDA kernels to scale matrix elements (rows or columns).

Definition in file scale_matrix.cu.

Function Documentation

◆ scale_matrix_columns_gpu_kernel< double >()

template<>
__global__ void scale_matrix_columns_gpu_kernel< double > ( int  nrow,
acc_complex_double_t *  mtrx,
double *  a 
)

Definition at line 35 of file scale_matrix.cu.

◆ scale_matrix_columns_gpu_kernel< float >()

template<>
__global__ void scale_matrix_columns_gpu_kernel< float > ( int  nrow,
acc_complex_float_t *  mtrx,
float *  a 
)

Definition at line 51 of file scale_matrix.cu.

◆ scale_matrix_columns_gpu_double()

void scale_matrix_columns_gpu_double ( int  nrow,
int  ncol,
acc_complex_double_t *  mtrx,
double *  a 
)

Definition at line 67 of file scale_matrix.cu.

◆ scale_matrix_columns_gpu_float()

void scale_matrix_columns_gpu_float ( int  nrow,
int  ncol,
acc_complex_float_t *  mtrx,
float *  a 
)

Definition at line 78 of file scale_matrix.cu.

◆ scale_matrix_rows_gpu_kernel()

__global__ void scale_matrix_rows_gpu_kernel ( int  nrow__,
acc_complex_double_t *  mtrx__,
double const *  v__ 
)

Definition at line 89 of file scale_matrix.cu.

◆ scale_matrix_rows_gpu()

void scale_matrix_rows_gpu ( int  nrow__,
int  ncol__,
acc_complex_double_t *  mtrx__,
double const *  v__ 
)

Definition at line 105 of file scale_matrix.cu.

◆ scale_matrix_elements_gpu_kernel()

__global__ void scale_matrix_elements_gpu_kernel ( acc_complex_double_t *  mtrx__,
int  ld__,
int  nrow__,
double  beta__ 
)

Definition at line 120 of file scale_matrix.cu.

◆ scale_matrix_elements_gpu()

void scale_matrix_elements_gpu ( acc_complex_double_t *  ptr__,
int  ld__,
int  nrow__,
int  ncol__,
double  beta__ 
)

Definition at line 136 of file scale_matrix.cu.