|
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_s |
| #define | FLOPS(m, n, k) ( FMULS_GEMM(m, n, k) + FADDS_GEMM(m, n, k)) |
Functions | |
| int | main (int argc, char **argv) |
| #define FLOPS | ( | m, | |
| n, | |||
| k | |||
| ) | ( FMULS_GEMM(m, n, k) + FADDS_GEMM(m, n, k)) |
Definition at line 30 of file testing_sgemm.cpp.
| #define PRECISION_s |
Definition at line 26 of file testing_sgemm.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 33 of file testing_sgemm.cpp.
References blasf77_saxpy(), FLOPS, get_current_time(), GetTimerValue(), ISEED, lapackf77_slange(), lapackf77_slarnv(), MAGMA_S_MAKE, MAGMA_S_NEG_ONE, magma_sgetmatrix(), magma_ssetmatrix(), magmablas_sgemm(), MagmaNoTrans, MagmaTrans, gbstrct_blg::N, TESTING_CUDA_FINALIZE, TESTING_CUDA_INIT, TESTING_DEVALLOC, TESTING_DEVFREE, TESTING_FREE, TESTING_MALLOC, and codegen::work.