mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
refactor: adjust code to compile with c++20
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a9c0199dfe
commit
5e1fa75676
@@ -122,18 +122,18 @@ template <typename GfxFamily, typename InterfaceDescriptorType>
|
||||
void PreemptionHelper::programInterfaceDescriptorDataPreemption(InterfaceDescriptorType *idd, PreemptionMode preemptionMode) {}
|
||||
|
||||
template <typename GfxFamily>
|
||||
constexpr uint32_t PreemptionConfig<GfxFamily>::mmioAddress = 0x2580;
|
||||
const uint32_t PreemptionConfig<GfxFamily>::mmioAddress = 0x2580;
|
||||
|
||||
template <typename GfxFamily>
|
||||
constexpr uint32_t PreemptionConfig<GfxFamily>::mask = ((1 << 1) | (1 << 2)) << 16;
|
||||
const uint32_t PreemptionConfig<GfxFamily>::mask = ((1 << 1) | (1 << 2)) << 16;
|
||||
|
||||
template <typename GfxFamily>
|
||||
constexpr uint32_t PreemptionConfig<GfxFamily>::threadGroupVal = (1 << 1);
|
||||
const uint32_t PreemptionConfig<GfxFamily>::threadGroupVal = (1 << 1);
|
||||
|
||||
template <typename GfxFamily>
|
||||
constexpr uint32_t PreemptionConfig<GfxFamily>::cmdLevelVal = (1 << 2);
|
||||
const uint32_t PreemptionConfig<GfxFamily>::cmdLevelVal = (1 << 2);
|
||||
|
||||
template <typename GfxFamily>
|
||||
constexpr uint32_t PreemptionConfig<GfxFamily>::midThreadVal = 0;
|
||||
const uint32_t PreemptionConfig<GfxFamily>::midThreadVal = 0;
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user