mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Initial PVC support
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com> Related-To: NEO-5542
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
3979af1dcc
commit
f20236c7f2
23
opencl/source/helpers/cl_hw_helper_pvc_and_later.inl
Normal file
23
opencl/source/helpers/cl_hw_helper_pvc_and_later.inl
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "opencl/extensions/public/cl_ext_private.h"
|
||||
|
||||
template <>
|
||||
inline bool ClHwHelperHw<Family>::preferBlitterForLocalToLocalTransfers() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
std::vector<uint32_t> ClHwHelperHw<Family>::getSupportedThreadArbitrationPolicies() const {
|
||||
return std::vector<uint32_t>{CL_KERNEL_EXEC_INFO_THREAD_ARBITRATION_POLICY_OLDEST_FIRST_INTEL, CL_KERNEL_EXEC_INFO_THREAD_ARBITRATION_POLICY_ROUND_ROBIN_INTEL, CL_KERNEL_EXEC_INFO_THREAD_ARBITRATION_POLICY_AFTER_DEPENDENCY_ROUND_ROBIN_INTEL, CL_KERNEL_EXEC_INFO_THREAD_ARBITRATION_POLICY_STALL_BASED_ROUND_ROBIN_INTEL};
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ClHwHelperHw<Family>::allowImageCompression(cl_image_format format) const {
|
||||
return true;
|
||||
}
|
Reference in New Issue
Block a user