Loading src/BatchedGemm.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -14,13 +14,8 @@ BatchedGemm<FpType>::BatchedGemm(int noperator, int *ld_Bmatrix) { if (!is_initialized) { dmrg_init(); const int ltrue = (1 == 1 ); is_initialized = ltrue; }; noperator_ = noperator; npatches_ = npatches; Loading src/BatchedGemm.h +0 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,6 @@ class BatchedGemm<FpType> { private: static int is_initialized; static const bool use_sparse = true; IntegerType *left_patch_start_; Loading src/dmrg_vbatch.c +3 −3 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ #include "mkl.h" #endif static int isfirst = 1; static int is_initialized = 0; #ifdef USE_MAGMA #undef USE_MALLOC Loading @@ -24,8 +24,8 @@ void dmrg_init() { if (isfirst) { isfirst = 0; if (!is_initialized) { is_initialized = 1; #ifdef USE_MAGMA device = 0; Loading Loading
src/BatchedGemm.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -14,13 +14,8 @@ BatchedGemm<FpType>::BatchedGemm(int noperator, int *ld_Bmatrix) { if (!is_initialized) { dmrg_init(); const int ltrue = (1 == 1 ); is_initialized = ltrue; }; noperator_ = noperator; npatches_ = npatches; Loading
src/BatchedGemm.h +0 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,6 @@ class BatchedGemm<FpType> { private: static int is_initialized; static const bool use_sparse = true; IntegerType *left_patch_start_; Loading
src/dmrg_vbatch.c +3 −3 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ #include "mkl.h" #endif static int isfirst = 1; static int is_initialized = 0; #ifdef USE_MAGMA #undef USE_MALLOC Loading @@ -24,8 +24,8 @@ void dmrg_init() { if (isfirst) { isfirst = 0; if (!is_initialized) { is_initialized = 1; #ifdef USE_MAGMA device = 0; Loading