mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
fix: abort when programming mid thread preemption for pre-Xe2 platforms
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1f801f412f
commit
6f909113f9
@@ -226,9 +226,11 @@ typedef struct tagINTERFACE_DESCRIPTOR_DATA {
|
||||
return static_cast<DENORM_MODE>(TheStructure.Common.DenormMode);
|
||||
}
|
||||
inline void setThreadPreemptionDisable(const THREAD_PREEMPTION_DISABLE value) {
|
||||
UNRECOVERABLE_IF(true); // patched
|
||||
TheStructure.Common.ThreadPreemptionDisable = value;
|
||||
}
|
||||
inline THREAD_PREEMPTION_DISABLE getThreadPreemptionDisable() const {
|
||||
UNRECOVERABLE_IF(true); // patched
|
||||
return static_cast<THREAD_PREEMPTION_DISABLE>(TheStructure.Common.ThreadPreemptionDisable);
|
||||
}
|
||||
inline void setSamplerCount(const SAMPLER_COUNT value) {
|
||||
|
||||
@@ -5360,9 +5360,11 @@ typedef struct tagINTERFACE_DESCRIPTOR_DATA {
|
||||
return static_cast<DENORM_MODE>(TheStructure.Common.DenormMode);
|
||||
}
|
||||
inline void setThreadPreemptionDisable(const THREAD_PREEMPTION_DISABLE value) {
|
||||
UNRECOVERABLE_IF(true); // patched
|
||||
TheStructure.Common.ThreadPreemptionDisable = value;
|
||||
}
|
||||
inline THREAD_PREEMPTION_DISABLE getThreadPreemptionDisable() const {
|
||||
UNRECOVERABLE_IF(true); // patched
|
||||
return static_cast<THREAD_PREEMPTION_DISABLE>(TheStructure.Common.ThreadPreemptionDisable);
|
||||
}
|
||||
inline void setBindingTableEntryCount(const uint32_t value) {
|
||||
|
||||
@@ -5109,9 +5109,11 @@ typedef struct tagINTERFACE_DESCRIPTOR_DATA {
|
||||
return static_cast<DENORM_MODE>(TheStructure.Common.DenormMode);
|
||||
}
|
||||
inline void setThreadPreemptionDisable(const THREAD_PREEMPTION_DISABLE value) {
|
||||
UNRECOVERABLE_IF(true); // patched
|
||||
TheStructure.Common.ThreadPreemptionDisable = value;
|
||||
}
|
||||
inline THREAD_PREEMPTION_DISABLE getThreadPreemptionDisable() const {
|
||||
UNRECOVERABLE_IF(true); // patched
|
||||
return static_cast<THREAD_PREEMPTION_DISABLE>(TheStructure.Common.ThreadPreemptionDisable);
|
||||
}
|
||||
inline void setSamplerCount(const SAMPLER_COUNT value) {
|
||||
|
||||
Reference in New Issue
Block a user