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
[ROCm/rocprofiler-systems commit: adefde707c]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
857eee18c2
Коммит
d4ac1ed7ea
@@ -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 char*, 6>{
|
||||
const auto _compute_mode_descr = std::array<const char*, 6>{
|
||||
"Default (multiple host threads can use ::hipSetDevice() with device "
|
||||
"simultaneously)",
|
||||
"Exclusive (only one host thread in one process is able to use "
|
||||
|
||||
Ссылка в новой задаче
Block a user