|
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_z |
| #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_zhetrd.cpp.
| #define PRECISION_z |
Definition at line 30 of file testing_zhetrd.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 40 of file testing_zhetrd.cpp.
References diag, FLOPS, get_current_time(), GetTimerValue(), ISEED, lapackf77_dlamch, lapackf77_zhet21, lapackf77_zhetrd, lapackf77_zlacpy, lapackf77_zlarnv, lapackf77_zungtr, magma_get_zhetrd_nb(), MAGMA_Z_REAL, MAGMA_Z_SET2REAL, magma_zhetrd(), MagmaLowerStr, MagmaUpperLowerStr, MagmaUpperStr, gbstrct_blg::N, TESTING_CUDA_FINALIZE, TESTING_CUDA_INIT, TESTING_FREE, TESTING_HOSTALLOC, TESTING_HOSTFREE, TESTING_MALLOC, uplo, and codegen::work.