
PR #22864 added a patch to hpctoolkit to fix an issue with gcc 10.x, and the patch was applied to all revs unconditionally. But this was fixed in hpctoolkit master on Aug 11, 2020, so the patch should only apply to old revs. Fixes #22951.
16 lines
453 B
Diff
16 lines
453 B
Diff
See: https://github.com/HPCToolkit/hpctoolkit/issues/309
|
|
|
|
diff --git a/src/tool/hpcrun/gpu/gpu-metrics.h b/src/tool/hpcrun/gpu/gpu-metrics.h
|
|
index ea0958156..fa3bceab1 100644
|
|
--- a/src/tool/hpcrun/gpu/gpu-metrics.h
|
|
+++ b/src/tool/hpcrun/gpu/gpu-metrics.h
|
|
@@ -61,7 +61,7 @@
|
|
//*****************************************************************************
|
|
|
|
|
|
-enum {
|
|
+typedef enum {
|
|
GPU_INST_STALL_ANY = 0
|
|
} gpu_inst_stall_all_t;
|
|
|