[OpenMP][OMPT] Add missing error entry to device tracing record union (#185683)

While `omp-tools.h` already includes the `ompt_record_error_t` struct,
the corresponding union entry was missing from `ompt_record_ompt_t`.
This commit adds the missing entry.

Note that this does not enable any functionality for device tracing
records.
This only aligns the struct with OpenMP v5.1 and newer. OpenMP v5.0 did
not contain the `error` directive.

CC: @jprotze

Signed-off-by: Jan André Reuter <j.reuter@fz-juelich.de>
This commit is contained in:
Jan André Reuter 2026-03-17 10:00:21 +01:00 committed by GitHub
parent 19460ff859
commit 1588f08369
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1402,6 +1402,7 @@ typedef struct ompt_record_ompt_t {
ompt_record_target_map_t target_map;
ompt_record_target_kernel_t target_kernel;
ompt_record_control_tool_t control_tool;
ompt_record_error_t error;
} record;
} ompt_record_ompt_t;