50 GPUdi() bool isSet(int32_t sector, tpccf::Row
row, tpccf::Pad
pad)
const
71 static constexpr int32_t NWORDS = (
TPC_PADS_IN_SECTOR +
sizeof(T) * 8 - 1) /
sizeof(T);
72 GPUdi() SectorBitMap()
79 const auto word = globalPad / (
sizeof(T) * 8);
80 const auto pos = globalPad % (
sizeof(T) * 8);
82 mDeadChannelMap[word] = (mDeadChannelMap[word] &
~mask) | (T(
c) <<
pos);
85 GPUdi() bool get(uint16_t globalPad)
const
87 const auto word = globalPad / (
sizeof(
T) * 8);
88 const auto pos = globalPad % (
sizeof(
T) * 8);
90 return (mDeadChannelMap[word] &
mask) ==
mask;
95 for (int32_t iword = 0; iword < NWORDS; ++iword) {
96 mDeadChannelMap[iword] = 0;
101 T mDeadChannelMap[NWORDS];