mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
refactor: store special relocation names as string_view
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6f2e8b7544
commit
49293fcac6
@@ -193,8 +193,8 @@ struct LinkerInput : NEO::NonCopyableAndNonMovableClass {
|
||||
};
|
||||
|
||||
struct Linker {
|
||||
inline static const std::string subDeviceID = "__SubDeviceID";
|
||||
inline static const std::string perThreadOff = "__INTEL_PER_THREAD_OFF";
|
||||
inline static constexpr std::string_view subDeviceID = "__SubDeviceID";
|
||||
inline static constexpr std::string_view perThreadOff = "__INTEL_PER_THREAD_OFF";
|
||||
|
||||
using RelocationInfo = LinkerInput::RelocationInfo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user