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 5dd5e05
Browse filesBrowse the repository at this point in the historyBrowse files
GPUTracking: rename the cluster finder's fragment to frag
fragment is a reserved word in MSL, where it qualifies a shader stage, so it
cannot name a member, a parameter or a local. The cluster finder used it for all
three, which was 38 of the errors left in the Metal compile.
Purely a rename, in code positions only: the option descriptions in
GPUSettingsList.h that mention fragments are strings and are untouched, as are
the comments.
Copy file name to clipboardExpand all lines: GPU/GPUTracking/TPCClusterFinder/GPUTPCClusterFinder.h
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ class GPUTPCClusterFinder : public GPUProcessor
63
63
uint32_t maxTimeBin = 0;
64
64
uint32_t nPagesSubsector = 0;
65
65
} counters;
66
-
CfFragment fragment;
66
+
CfFragment frag;
67
67
};
68
68
69
69
structZSOffset {
@@ -105,9 +105,9 @@ class GPUTPCClusterFinder : public GPUProcessor
105
105
CfChargePos* mPpeakPositions = nullptr;
106
106
CfChargePos* mPfilteredPeakPositions = nullptr;
107
107
uint8_t* mPisPeak = nullptr;
108
-
uint32_t* mPclusterPosInRow = nullptr; // store the index where the corresponding cluster is stored in a bucket.
109
-
// Required when MC are enabled to write the mc data to the correct position.
110
-
// Set to >= mNMaxClusterPerRow if cluster was discarded.
108
+
uint32_t* mPclusterPosInRow = nullptr; // store the index where the corresponding cluster is stored in a bucket.
109
+
// Required when MC are enabled to write the mc data to the correct position.
110
+
// Set to >= mNMaxClusterPerRow if cluster was discarded.
111
111
uint32_t* mPhipClusterPosInRow = nullptr; // Identical to mPclusterPosInRow. Need a seperate array for HIP cluster because tail index is used to identify clusters across GPU and CPU
0 commit comments