Skip to content

Commit

Permalink
Remove unused bits in MatrixDelayedUpdateCUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Sep 28, 2021
1 parent 13d5553 commit b71988f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/QMCWaveFunctions/Fermion/DiracMatrixComputeCUDA.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ class DiracMatrixComputeCUDA : public Resource
* \param[in] lda leading dimension of each matrix
* \param[out] log_values log determinant value for each matrix, batch_size = log_values.size()
*
* This is the prefered interface for calling computeInvertAndLog when the VALUE_FP and VALUE_FP are equal.
* On Volta so far little seems to be achieved by having the mats continuous.
*/
inline void mw_computeInvertAndLog(CUDALinearAlgebraHandles& cuda_handles,
Expand Down
10 changes: 0 additions & 10 deletions src/QMCWaveFunctions/Fermion/MatrixDelayedUpdateCUDA.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ class MatrixDelayedUpdateCUDA
/// current number of delays, increase one for each acceptance, reset to 0 after updating Ainv
int delay_count;

// psi(r')/psi(r) during a PbyP move
FullPrecValue cur_ratio_;

/** @ingroup Resources
* @{ */
// CUDA stream, cublas handle object
Expand Down Expand Up @@ -451,13 +448,6 @@ class MatrixDelayedUpdateCUDA
}
}


inline void invert_transpose(const Matrix<Value>& log_det, Matrix<Value>& a_inv, LogValue& log_value)
{
guard_no_delay();
detEng.invert_transpose(log_det, a_inv, log_value);
}

Value* getRow_psiMinv_offload(int row_id) { return psiMinv_.device_data() + row_id * psiMinv_.cols(); }

/** compute the inverse of the transpose of matrix psiM, result is in psiMinv
Expand Down

0 comments on commit b71988f

Please sign in to comment.