|
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 <quark.h>#include "flops.h"#include "magma.h"#include "magma_lapack.h"#include "testings.h"#include <pthread.h>Go to the source code of this file.
Classes | |
| struct | magma_qr_params |
| struct | t_params |
Macros | |
| #define | PRECISION_z |
| #define | FLOPS(m, n) ( 6.*FMULS_GEQRF(m, n) + 2.*FADDS_GEQRF(m, n) ) |
| #define | PRECISION_z |
Functions | |
| void * | cpu_thread (void *a) |
| void | magma_qr_init (magma_qr_params *qr_params, magma_int_t m, magma_int_t n, cuDoubleComplex *a, magma_int_t nthreads) |
| int | main (magma_int_t argc, char **argv) |
Variables | |
| int | TRACE |
| #define FLOPS | ( | m, | |
| n | |||
| ) | ( 6.*FMULS_GEQRF(m, n) + 2.*FADDS_GEQRF(m, n) ) |
Definition at line 33 of file testing_zgeqrf-v2.cpp.
| #define PRECISION_z |
Definition at line 40 of file testing_zgeqrf-v2.cpp.
| #define PRECISION_z |
Definition at line 40 of file testing_zgeqrf-v2.cpp.
| void* cpu_thread | ( | void * | a | ) |
Definition at line 110 of file testing_zgeqrf-v2.cpp.
References magma_qr_params::a, lapackf77_zlarfb, magma_qr_params::lda, magma_qr_params::m, MagmaColumnwiseStr, MagmaForwardStr, MagmaLeftStr, MagmaTransStr, magma_qr_params::n, magma_qr_params::nb, magma_qr_params::np_gpu, magma_qr_params::nthreads, magma_qr_params::ob, magma_qr_params::p, t_params::params, magma_qr_params::sync0, magma_qr_params::sync1, magma_qr_params::sync2, magma_qr_params::t, and t_params::tid.
| void magma_qr_init | ( | magma_qr_params * | qr_params, |
| magma_int_t | m, | ||
| magma_int_t | n, | ||
| cuDoubleComplex * | a, | ||
| magma_int_t | nthreads | ||
| ) |
Definition at line 167 of file testing_zgeqrf-v2.cpp.
References magma_qr_params::a, magma_qr_params::fb, magma_qr_params::flag, magma_qr_params::lda, magma_qr_params::m, magma_qr_params::n, magma_qr_params::nb, magma_qr_params::np_gpu, magma_qr_params::nthreads, magma_qr_params::ob, magma_qr_params::p, magma_qr_params::sync0, magma_qr_params::sync2, magma_qr_params::t, and magma_qr_params::w.
| int main | ( | magma_int_t | argc, |
| char ** | argv | ||
| ) |
Definition at line 233 of file testing_zgeqrf-v2.cpp.
References auto_tune(), blasf77_zaxpy, cpu_thread(), magma_qr_params::fb, FLOPS, get_current_time(), GetTimerValue(), magma_qr_params::ib, ISEED, lapackf77_zgeqrf, lapackf77_zlacpy, lapackf77_zlange, lapackf77_zlarnv, magma_finalize(), magma_get_zgeqrf_nb(), magma_init(), magma_qr_init(), MAGMA_Z_NEG_ONE, magma_zgeqrf3(), MagmaUpperLowerStr, min, magma_qr_params::nb, magma_qr_params::ob, context::params, magma_qr_params::sync0, magma_qr_params::sync1, TESTING_FREE, TESTING_HOSTALLOC, TESTING_HOSTFREE, TESTING_MALLOC, TRACE, and codegen::work.
| int TRACE |
Definition at line 227 of file testing_zgeqrf-v2.cpp.