|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for GSL BLAS (Basic Linear Algebra Subprograms) operations. More...
#include <gtest/gtest.h>#include <cmath>#include "Utilities/GSLBLAS.h"#include "Utilities/GSLComplex.h"#include "Utilities/GSLMatrix.h"
Go to the source code of this file.
Classes | |
| class | GSLBLASTest |
Functions | |
| TEST_F (GSLBLASTest, DGEMM_NoTrans) | |
| TEST_F (GSLBLASTest, DGEMM_WithBeta) | |
| TEST_F (GSLBLASTest, DGEMM_Transpose) | |
| TEST_F (GSLBLASTest, DGEMV) | |
| TEST_F (GSLBLASTest, ZGEMM_Complex) | |
Unit tests for GSL BLAS (Basic Linear Algebra Subprograms) operations.
This file contains unit tests for GSL-compatible BLAS operations including matrix-matrix and matrix-vector multiplications for both real and complex data types.
Definition in file TestGSLBLAS.cpp.
| TEST_F | ( | GSLBLASTest | , |
| DGEMM_NoTrans | |||
| ) |
Definition at line 51 of file TestGSLBLAS.cpp.
References CblasNoTrans, gsl_blas_dgemm(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_get(), gsl_matrix_set(), and gsl_matrix_set_zero().

| TEST_F | ( | GSLBLASTest | , |
| DGEMM_Transpose | |||
| ) |
Definition at line 115 of file TestGSLBLAS.cpp.
References CblasNoTrans, CblasTrans, gsl_blas_dgemm(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_get(), and gsl_matrix_set_identity().

| TEST_F | ( | GSLBLASTest | , |
| DGEMM_WithBeta | |||
| ) |
Definition at line 91 of file TestGSLBLAS.cpp.
References CblasNoTrans, gsl_blas_dgemm(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_get(), gsl_matrix_set_all(), and gsl_matrix_set_identity().

| TEST_F | ( | GSLBLASTest | , |
| DGEMV | |||
| ) |
Definition at line 137 of file TestGSLBLAS.cpp.
References CblasNoTrans, gsl_blas_dgemv(), gsl_matrix_alloc(), gsl_matrix_free(), gsl_matrix_set(), gsl_matrix_set_identity(), gsl_vector_alloc(), gsl_vector_free(), gsl_vector_get(), and gsl_vector_set_all().

| TEST_F | ( | GSLBLASTest | , |
| ZGEMM_Complex | |||
| ) |
Definition at line 166 of file TestGSLBLAS.cpp.
References CblasNoTrans, gsl_blas_zgemm(), gsl_complex_rect(), GSL_IMAG, gsl_matrix_complex_alloc(), gsl_matrix_complex_free(), gsl_matrix_complex_get(), gsl_matrix_complex_set(), gsl_matrix_complex_set_zero(), and GSL_REAL.
