1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
*
* Copyright (C) 2010 Université de Bordeaux 1
* Copyright (C) 2010 Centre National de la Recherche Scientifique
*
* 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.
*/
#define TYPE double
#define MPI_TYPE MPI_DOUBLE
#define STARPU_PLU(name) starpu_pdlu_##name
#define CUBLAS_GEMM cublasDgemm
#define CUBLAS_TRSM cublasDtrsm
#define CUBLAS_SCAL cublasDscal
#define CUBLAS_GER cublasDger
#define CUBLAS_SWAP cublasDswap
#define CUBLAS_IAMAX cublasIdamax
#define CPU_GEMM DGEMM
#define CPU_GEMV DGEMV
#define CPU_TRSM DTRSM
#define CPU_SCAL DSCAL
#define CPU_GER DGER
#define CPU_SWAP DSWAP
#define CPU_TRMM DTRMM
#define CPU_AXPY DAXPY
#define CPU_ASUM DASUM
#define CPU_IAMAX IDAMAX
#define PIVOT_THRESHHOLD 10e-10
|