|
MAGMA
1.2.0
MatrixAlgebraonGPUandMulticoreArchitectures
|
#include <stdio.h>#include <cuda.h>#include <cuda_runtime_api.h>#include <cublas.h>#include <math.h>#include <string.h>#include <ctype.h>#include <pthread.h>#include <unistd.h>#include <inttypes.h>#include "magma.h"#include "magma_lapack.h"#include "operators.h"#include "transpose.h"Go to the source code of this file.
Macros | |
| #define | __func__ "<unknown>" |
| #define | max(a, b) ((a) > (b) ? (a) : (b)) |
| #define | min(a, b) ((a) < (b) ? (a) : (b)) |
| #define | roundup(a, b) (b <= 0) ? (a) : (((a) + (b)-1) & ~((b)-1)) |
| #define | magma_dsqrt sqrt |
| #define | magma_ssqrt sqrt |
| #define __func__ "<unknown>" |
MAGMA facilities of interest to both src and magmablas directories **************************************************************************** C99 standard defines func. Some older compilers use FUNCTION. Note func is not a macro, so ifndef func doesn't work.
Definition at line 61 of file common_magma.h.
| #define magma_dsqrt sqrt |
Definition at line 92 of file common_magma.h.
| #define magma_ssqrt sqrt |
Definition at line 93 of file common_magma.h.
| #define max | ( | a, | |
| b | |||
| ) | ((a) > (b) ? (a) : (b)) |
Definition at line 78 of file common_magma.h.
| #define min | ( | a, | |
| b | |||
| ) | ((a) < (b) ? (a) : (b)) |
Definition at line 81 of file common_magma.h.
| #define roundup | ( | a, | |
| b | |||
| ) | (b <= 0) ? (a) : (((a) + (b)-1) & ~((b)-1)) |
Definition at line 84 of file common_magma.h.