Add Kernel restrictions

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-07-01 16:07:58 +00:00
committed by Compute-Runtime-Automation
parent aed3fada28
commit 64eb82efac
8 changed files with 574 additions and 17 deletions

View File

@@ -11,11 +11,7 @@
#include "opencl/source/kernel/kernel.h"
namespace NEO {
bool Kernel::requiresCacheFlushCommand(const CommandQueue &commandQueue) const {
return false;
}
void Kernel::reconfigureKernel() {
}
int Kernel::setKernelThreadArbitrationPolicy(uint32_t policy) {
auto hwInfo = clDevice.getHardwareInfo();
auto &hwHelper = NEO::ClHwHelper::get(hwInfo.platform.eRenderCoreFamily);
@@ -39,14 +35,8 @@ bool Kernel::requiresPerDssBackedBuffer() const {
return DebugManager.flags.ForcePerDssBackedBufferProgramming.get();
}
bool Kernel::requiresLimitedWorkgroupSize() const {
return this->isBuiltIn;
}
int32_t Kernel::setAdditionalKernelExecInfoWithParam(uint32_t paramName, size_t paramValueSize, const void *paramValue) {
return CL_INVALID_VALUE;
}
void Kernel::updateAuxTranslationRequired() {
}
} // namespace NEO