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 9be7382
Browse filesBrowse the repository at this point in the historyBrowse files
TPCFastTransformation: place shared 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.
Copy file name to clipboardExpand all lines: GPU/TPCFastTransformation/TPCFastTransformGeo.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -175,9 +175,9 @@ class TPCFastTransformGeo
175
175
private:
176
176
/// _______________ Data members _______________________________________________
177
177
178
-
staticconstexprint32_t NumberOfSectors = o2::tpc::constants::MAXSECTOR; ///< Number of TPC sectors ( sector = inner + outer sector )
179
-
staticconstexprint32_t NumberOfSectorsA = NumberOfSectors / 2; ///< Number of TPC sectors side A
180
-
staticconstexprint32_t MaxNumberOfRows = 160; ///< Max Number of TPC rows in a sector - MUST NOT CHANGE THIS due to on-disk format of stored maps
178
+
staticGPUglobalconstexpr() int32_t NumberOfSectors = o2::tpc::constants::MAXSECTOR; ///< Number of TPC sectors ( sector = inner + outer sector )
179
+
staticGPUglobalconstexpr() int32_t NumberOfSectorsA = NumberOfSectors / 2; ///< Number of TPC sectors side A
180
+
staticGPUglobalconstexpr() int32_t MaxNumberOfRows = 160; ///< Max Number of TPC rows in a sector - MUST NOT CHANGE THIS due to on-disk format of stored maps
181
181
182
182
/// _______________ Construction control _______________________________________________
0 commit comments