MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / apply

Method apply

include/common.h:484–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482
483 template <class Offset>
484 HOST_DEVICE constexpr static auto apply(Offset const& offset) {
485 return offset ^ shiftr(offset & yyy_msk{}, msk_sft{}); // ZZZ ^= YYY
486 }
487
488 template <class Offset>
489 HOST_DEVICE constexpr auto operator()(Offset const& offset) const {

Callers 1

forwardMethod · 0.45

Calls 1

shiftrFunction · 0.85

Tested by

no test coverage detected