Project
Loading...
Searching...
No Matches
GPUErrorCodes.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
14
15// Error Codes for GPU Tracker
16// Denotes: ERROR_NUMBER, ERROR_STRING, [Parameter 1, Parameter 2, Parameter 3] (SectorRow = Sector * 1000 + Row, same for SectorCRU and SectorEndpoint)
17GPUCA_ERROR_CODE(0, ERROR_NONE)
18
19// All overflow errors will not stop the processing, but the part of the data that would be written beyond the max buffer size is discarded.
20GPUCA_ERROR_CODE(1, ERROR_ROWSTARTHIT_OVERFLOW, SectorRow, Value, Max)
21GPUCA_ERROR_CODE(2, ERROR_STARTHIT_OVERFLOW, SectorRow, Value, Max)
22GPUCA_ERROR_CODE(3, ERROR_TRACKLET_OVERFLOW, Sector, Value, Max)
23GPUCA_ERROR_CODE(4, ERROR_TRACKLET_HIT_OVERFLOW, Sector, Value, Max)
24GPUCA_ERROR_CODE(5, ERROR_TRACK_OVERFLOW, Sector, Value, Max)
25GPUCA_ERROR_CODE(6, ERROR_TRACK_HIT_OVERFLOW, Sector, Value, Max)
26GPUCA_ERROR_CODE(7, ERROR_GLOBAL_TRACKING_TRACK_OVERFLOW, Sector, Value, Max)
27GPUCA_ERROR_CODE(8, ERROR_GLOBAL_TRACKING_TRACK_HIT_OVERFLOW, Sector, Value, Max)
28GPUCA_ERROR_CODE(9, ERROR_LOOPER_OVERFLOW)
29GPUCA_ERROR_CODE(10, ERROR_MERGER_CE_HIT_OVERFLOW, Value, Max)
30GPUCA_ERROR_CODE(11, ERROR_MERGER_LOOPER_OVERFLOW, Value, Max)
31GPUCA_ERROR_CODE(12, ERROR_SECTORDATA_FIRSTHITINBIN_OVERFLOW, Sector, Value, Max)
32GPUCA_ERROR_CODE(13, ERROR_SECTORDATA_HITINROW_OVERFLOW, SectorRow, Value, Max)
33GPUCA_ERROR_CODE(14, ERROR_SECTORDATA_BIN_OVERFLOW, SectorRow, Value, Max)
34GPUCA_ERROR_CODE(15, ERROR_SECTORDATA_Z_OVERFLOW, Sector, Value)
35GPUCA_ERROR_CODE(16, ERROR_MERGER_HIT_OVERFLOW, Value, Max)
36GPUCA_ERROR_CODE(17, ERROR_MERGER_TRACK_OVERFLOW, Value, Max)
37GPUCA_ERROR_CODE(18, ERROR_COMPRESSION_ROW_HIT_OVERFLOW, SectorRow, Value, Max)
38GPUCA_ERROR_CODE(19, ERROR_LOOPER_MATCH_OVERFLOW, Value, Max)
39GPUCA_ERROR_CODE(20, ERROR_CF_PEAK_OVERFLOW, Sector, Value, Max)
40GPUCA_ERROR_CODE(21, ERROR_CF_CLUSTER_OVERFLOW, Sector, Value, Max)
41GPUCA_ERROR_CODE(22, ERROR_CF_ROW_CLUSTER_OVERFLOW, SectorRow, Value, Max)
42GPUCA_ERROR_CODE(23, ERROR_CF_GLOBAL_CLUSTER_OVERFLOW, SectorRow, Value, Max)
43GPUCA_ERROR_CODE(24, ERROR_DECOMPRESSION_ATTACHED_CLUSTER_OVERFLOW, SectorRow, Value, Max)
44GPUCA_ERROR_CODE(25, MAX_OVERFLOW_ERROR_NUMBER) // Overflow errors are detected as errno <= MAX_OVERFLOW_ERROR_NUMBER
45
46GPUCA_ERROR_CODE(26, ERROR_TPCZS_INVALID_ROW, SectorRow) // Data from invalid row is skipped
47GPUCA_ERROR_CODE(27, ERROR_TPCZS_INVALID_NADC, SectorCRU, SamplesInPage, SamplesWritten) // Invalid number of ADC samples in header, existing samples were decoded
48GPUCA_ERROR_CODE(28, ERROR_TPCZS_INCOMPLETE_HBF, SectorCRU, PacketCount, NextPacketCount) // Part of HBF is missing, decoding incomplete
49GPUCA_ERROR_CODE(29, ERROR_TPCZS_INVALID_OFFSET, SectorEndpoint, Value, Expected) // Raw page is skipped since it contains invalid payload offset
50
51// #define GPUCA_CHECK_TPCZS_CORRUPTION
o2::monitoring::tags::Value Value
#define GPUCA_ERROR_CODE(num, name,...)