Loading src/dmrg_malloc.c +2 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,8 @@ int dmrg_is_managed( const void *ptr ) { const int false = (0 == 1); int is_managed = false; const int lfalse = (0 == 1); int is_managed = lfalse; #ifdef USE_MAGMA struct cudaPointerAttributes attribute; Loading src/dmrg_vbatch.c +2 −2 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ void dmrg_init() } void dmrg_Xgetvector( const int n, const FpType *dx_src, const int incx, FpType *dx_src, const int incx, FpType *hy_dst, const int incy ) { #ifdef USE_MAGMA Loading Loading @@ -77,7 +77,7 @@ void dmrg_Xsetvector( const int n, void dmrg_Xgetmatrix( const int m, const int n, const FpType *dA_src, const int ldda, FpType *dA_src, const int ldda, FpType *hB_dst, const int ldb ) { #ifdef USE_MAGMA Loading src/setup_sparse_batch.c +3 −3 Original line number Diff line number Diff line Loading @@ -80,9 +80,9 @@ void setup_sparse_batch( { const int idebug = 1; const int ialign = 32; const int false = 0; const int true = !false; const int use_Xlacpy = true ; const int lfalse = 0; const int ltrue = !lfalse; const int use_Xlacpy = ltrue ; const double giga = 1000.0*1000.0*1000.0; double total_time = -dmrg_get_wtime(); Loading Loading
src/dmrg_malloc.c +2 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,8 @@ int dmrg_is_managed( const void *ptr ) { const int false = (0 == 1); int is_managed = false; const int lfalse = (0 == 1); int is_managed = lfalse; #ifdef USE_MAGMA struct cudaPointerAttributes attribute; Loading
src/dmrg_vbatch.c +2 −2 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ void dmrg_init() } void dmrg_Xgetvector( const int n, const FpType *dx_src, const int incx, FpType *dx_src, const int incx, FpType *hy_dst, const int incy ) { #ifdef USE_MAGMA Loading Loading @@ -77,7 +77,7 @@ void dmrg_Xsetvector( const int n, void dmrg_Xgetmatrix( const int m, const int n, const FpType *dA_src, const int ldda, FpType *dA_src, const int ldda, FpType *hB_dst, const int ldb ) { #ifdef USE_MAGMA Loading
src/setup_sparse_batch.c +3 −3 Original line number Diff line number Diff line Loading @@ -80,9 +80,9 @@ void setup_sparse_batch( { const int idebug = 1; const int ialign = 32; const int false = 0; const int true = !false; const int use_Xlacpy = true ; const int lfalse = 0; const int ltrue = !lfalse; const int use_Xlacpy = ltrue ; const double giga = 1000.0*1000.0*1000.0; double total_time = -dmrg_get_wtime(); Loading