Commit 6c2ca2d7 authored by gbalduzz's avatar gbalduzz
Browse files

added doc.

parent 36081696
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -31,6 +31,9 @@ void buildG0Matrix(linalg::MatrixView<Real, linalg::GPU> G0, const int n_init,
                   const bool right_section, DeviceConfiguration config,
                   DeviceInterpolationData<Real> g0_interp, cudaStream_t stream);

// For testing purposes only: computes on the GPU a single value of the interpolated G0 at the
// desired imaginary time "tau" and sector "linindex". Returns the result.
// This method is dominated by latency in a kernel launch and CPU-GPU communication.
template <typename Real>
Real interpolateSlow(Real tau, int linindex, const DeviceInterpolationData<Real>& g0);