mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:00:01 +08:00
Limit blit height on PVC
Resolves: NEO-7540 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e38cbd9671
commit
7d0ef38a83
@@ -21,11 +21,13 @@ enum class MemoryPool {
|
||||
|
||||
namespace MemoryPoolHelper {
|
||||
|
||||
inline bool isSystemMemoryPool(MemoryPool pool) {
|
||||
return pool == MemoryPool::System4KBPages ||
|
||||
pool == MemoryPool::System64KBPages ||
|
||||
pool == MemoryPool::System4KBPagesWith32BitGpuAddressing ||
|
||||
pool == MemoryPool::System64KBPagesWith32BitGpuAddressing;
|
||||
template <typename... Args>
|
||||
inline bool isSystemMemoryPool(Args... pool) {
|
||||
return ((pool == MemoryPool::System4KBPages ||
|
||||
pool == MemoryPool::System64KBPages ||
|
||||
pool == MemoryPool::System4KBPagesWith32BitGpuAddressing ||
|
||||
pool == MemoryPool::System64KBPagesWith32BitGpuAddressing) &&
|
||||
...);
|
||||
}
|
||||
|
||||
} // namespace MemoryPoolHelper
|
||||
|
||||
Reference in New Issue
Block a user