You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 629e6da
Browse filesBrowse the repository at this point in the historyBrowse files
DataFormatsTPC: place the zero-suppression constants in the constant address space
MSL requires every variable at program scope, class-scope statics included, to
name an address space. GPUglobalconstexpr() expands to constexpr everywhere
except Metal, so this is a no-op for host, CUDA, HIP, OpenCL and cling.
These were missed by the earlier pass: the header they sit in only started
being compiled once the errors ahead of it were gone.
staticGPUglobalconstexpr() unsigned int SAMPLESPER64BIT = 64 / TPC_ZS_NBITS_V34; // 5 12-bit samples with 4 bit padding per 64 bit word for non-TIGHTLY_PACKED data
59
+
staticGPUglobalconstexpr() unsigned int TRIGGER_WORD_SIZE = 16; // trigger word size in bytes
60
60
enum ZSFlags : unsignedchar {
61
61
TriggerWordPresent = 1,
62
62
nTimeBinSpanBit8 = 2,
@@ -89,7 +89,7 @@ struct ZeroSuppressedContainer { // Struct for the TPC zero suppressed data form
89
89
///
90
90
/// Trigger word is always 128bit and occurs always in the last page of a HBF before the meta header
91
91
structTriggerWordDLBZS {
92
-
staticconstexpruint16_t MaxTriggerEntries = 8; ///< Maximum number of trigger information
92
+
staticGPUglobalconstexpr() uint16_t MaxTriggerEntries = 8; ///< Maximum number of trigger information
0 commit comments