Initial PVC support

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>

Related-To: NEO-5542
This commit is contained in:
Bartosz Dunajski
2021-11-16 11:12:22 +00:00
committed by Compute-Runtime-Automation
parent 3979af1dcc
commit f20236c7f2
81 changed files with 10828 additions and 4 deletions

View 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;
}