Closed kostrzewa closed 3 years ago
Very good, I'll look at it. You have fortunately much more time than I do!
On 18 March 2021 20:49:03 CET, Bartosz Kostrzewa @.> wrote: @. commented on this pull request.
@@ -8,11 +8,11 @@ namespace quda {
- template <typename Float, int nColor, int nDim, QudaReconstructType reconstruct_, bool dynamicclover, bool asymmetric_>
- template <typename Float, int nColor, int nDim, QudaReconstructType reconstruct, bool asymmetric>
note that I've removed the
dynamic_clover
template argument since it's not required
-- CU Mobil, www.carsten-urbach.eu
apart from these question I'm happy to merge this in.
okay, that's true. so one needs to make sure that never both cuh files are included...
@kostrzewa commented on this pull request.
@@ -15,15 +15,12 @@ namespace quda { // trait to ensure we don't instantiate asymmetric & xpay
- // defined dslash_ndeg_twisted_mass_preconditioned.cu
- template
constexpr bool xpay_(); - template <> constexpr bool xpay_
(); - template
constexpr bool xpay_() { return true; } - template <> constexpr bool xpay_
() { return false; } -- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/qcdcode/quda/pull/7#discussion_r597567877
-- Carsten Urbach e-mail: @. @. Fon : +49 (0)228 73 2379 skype : carsten.urbach URL: http://www.carsten-urbach.eu
Very good, I'll look at it. You have fortunately much more time than I do!
That will change next week I'm afraid, so I wanted to do as much ground-work as possible to be in a position from next week onwards to work in small chunks.
@urbach didn't want to step on your toes so I did this in a separate branch tonight, just wanted to see if I could get the logic compiled to get
NdegTwistedCloverPreconditioned
under test coverage.Note that part of the non-deg twisted clover dslash already passes the
tmc_ndeg_dslash
test, since the daggered symmetric operator is not fused and implemented via the Wilson Dslash and TwistCloverInv, the latter of which I generalised to two flavours yesterday.See
lib/dirac_twisted_clover.cpp
:The logic for this split is also further spelled out in the Doxygen for
ApplyNdegTwistedCloverPreconditioned
(include/dslash_quda.h
)