12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /* StarPU --- Runtime system for heterogeneous multicore architectures.
- *
- * Copyright (C) 2009, 2010, 2014-2015 Université de Bordeaux
- * Copyright (C) 2010 CNRS
- *
- * StarPU is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or (at
- * your option) any later version.
- *
- * StarPU is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * See the GNU Lesser General Public License in COPYING.LGPL for more details.
- */
- /* Complex float macros */
- #include <complex.h>
- #include "blas_complex.h"
- #define TYPE complex float
- #define CUBLAS_TYPE cuComplex
- #define STARPU_LU(name) starpu_clu_##name
- #define COMPLEX_LU
- #define CUBLAS_GEMM cublasCgemm
- #define CUBLAS_TRSM cublasCtrsm
- #define CUBLAS_SCAL cublasCscal
- #define CUBLAS_GER cublasCgeru
- #define CUBLAS_SWAP cublasCswap
- #define CUBLAS_IAMAX cublasIcamax
- #define CPU_GEMM CGEMM
- #define CPU_TRSM CTRSM
- #define CPU_SCAL CSCAL
- #define CPU_GER CGERU
- #define CPU_SWAP CSWAP
- #define CPU_TRMM CTRMM
- #define CPU_AXPY CAXPY
- #define CPU_ASUM SCASUM
- #define CPU_IAMAX ICAMAX
- #define PIVOT_THRESHHOLD 10e-5
- #define CAN_EXECUTE
|