|
MAGMA
1.2.0
MatrixAlgebraonGPUandMulticoreArchitectures
|
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <math.h>#include <cuda.h>#include <cuda_runtime_api.h>#include <cublas.h>#include "flops.h"#include "magma.h"#include "magma_lapack.h"#include "testings.h"Go to the source code of this file.
Macros | |
| #define | PRECISION_c |
| #define | FLOPS(n) ( 6. * FMULS_HETRD(n) + 2. * FADDS_HETRD(n)) |
Functions | |
| int | main (int argc, char **argv) |
| #define FLOPS | ( | n | ) | ( 6. * FMULS_HETRD(n) + 2. * FADDS_HETRD(n)) |
Definition at line 32 of file testing_chetrd.cpp.
| #define PRECISION_c |
Definition at line 30 of file testing_chetrd.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 40 of file testing_chetrd.cpp.
References diag, FLOPS, get_current_time(), GetTimerValue(), ISEED, lapackf77_chet21(), lapackf77_chetrd(), lapackf77_clacpy(), lapackf77_clarnv(), lapackf77_cungtr(), lapackf77_slamch, MAGMA_C_REAL, MAGMA_C_SET2REAL, magma_chetrd(), magma_get_chetrd_nb(), MagmaLowerStr, MagmaUpperLowerStr, MagmaUpperStr, gbstrct_blg::N, TESTING_CUDA_FINALIZE, TESTING_CUDA_INIT, TESTING_FREE, TESTING_HOSTALLOC, TESTING_HOSTFREE, TESTING_MALLOC, uplo, and codegen::work.