From adefde707cc3db286059a6f19ca7fad2baf169fe Mon Sep 17 00:00:00 2001 From: "Jonathan R. Madsen" Date: Wed, 10 Jan 2024 09:38:09 -0600 Subject: [PATCH] Fix cpack on SLES (#324) Update lib/core/gpu.cpp - use const std::array instead of constexpr std::array due to internal compiler errors on systems with older GCC compilers --- source/lib/core/gpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/core/gpu.cpp b/source/lib/core/gpu.cpp index 8adc20b57..ffd848a7b 100644 --- a/source/lib/core/gpu.cpp +++ b/source/lib/core/gpu.cpp @@ -470,7 +470,7 @@ add_hip_device_metadata(ArchiveT& ar) OMNITRACE_SERIALIZE_HIP_DEVICE_PROP(asicRevision) # endif - constexpr auto _compute_mode_descr = std::array{ + const auto _compute_mode_descr = std::array{ "Default (multiple host threads can use ::hipSetDevice() with device " "simultaneously)", "Exclusive (only one host thread in one process is able to use "