QUDA  v1.1.0
A library for QCD on GPUs
Classes | Namespaces | Functions | Variables
blas_interface_test.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <math.h>
#include <string.h>
#include <complex>
#include <inttypes.h>
#include <util_quda.h>
#include <host_utils.h>
#include <command_line_params.h>
#include "blas_reference.h"
#include "misc.h"
#include <gtest/gtest.h>
#include <quda.h>

Go to the source code of this file.

Classes

class  BLASTest
 

Namespaces

 quda
 

Functions

void quda::setTransferGPU (bool)
 
void display_test_info ()
 
double test (int data_type)
 
 TEST_P (BLASTest, verify)
 
std::string getBLASName (testing::TestParamInfo< int > param)
 
 INSTANTIATE_TEST_SUITE_P (QUDA, BLASTest, Range(0, 4), getBLASName)
 
int main (int argc, char **argv)
 

Variables

const char * data_type_str []
 

Function Documentation

◆ display_test_info()

void display_test_info ( )

Definition at line 35 of file blas_interface_test.cpp.

◆ getBLASName()

std::string getBLASName ( testing::TestParamInfo< int >  param)

Definition at line 326 of file blas_interface_test.cpp.

◆ INSTANTIATE_TEST_SUITE_P()

INSTANTIATE_TEST_SUITE_P ( QUDA  ,
BLASTest  ,
Range(0, 4)  ,
getBLASName   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 336 of file blas_interface_test.cpp.

◆ test()

double test ( int  data_type)

Definition at line 44 of file blas_interface_test.cpp.

◆ TEST_P()

TEST_P ( BLASTest  ,
verify   
)

Definition at line 311 of file blas_interface_test.cpp.

Variable Documentation

◆ data_type_str

const char* data_type_str[]
Initial value:
= {
"realSingle",
"realDouble",
"complexSingle",
"complexDouble",
}

Definition at line 23 of file blas_interface_test.cpp.