123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #define TYPE float
- #define STARPU_LU(name) starpu_slu_##name
- #ifdef STARPU_HAVE_MAGMA
- #include <magmablas.h>
- #define CUBLAS_GEMM magmablas_sgemm
- #define CUBLAS_TRSM magmablas_strsm
- #else
- #define CUBLAS_GEMM cublasSgemm
- #define CUBLAS_TRSM cublasStrsm
- #endif
- #define CUBLAS_SCAL cublasSscal
- #define CUBLAS_GER cublasSger
- #define CUBLAS_SWAP cublasSswap
- #define CUBLAS_IAMAX cublasIsamax
- #define CPU_GEMM SGEMM
- #define CPU_TRSM STRSM
- #define CPU_SCAL SSCAL
- #define CPU_GER SGER
- #define CPU_SWAP SSWAP
- #define CPU_TRMM STRMM
- #define CPU_AXPY SAXPY
- #define CPU_ASUM SASUM
- #define CPU_IAMAX ISAMAX
- #define PIVOT_THRESHHOLD 10e-5
|