refactor: Remove globaly enabled cl_cache

Current behaviour will be detecd path existence

Related-To: NEO-4262

Signed-off-by: Diedrich, Kamil <kamil.diedrich@intel.com>
This commit is contained in:
Diedrich, Kamil
2023-04-27 08:42:36 +00:00
committed by Compute-Runtime-Automation
parent ef10c98497
commit 5149d74141
46 changed files with 204 additions and 165 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -14,7 +14,7 @@ void BuiltinDispatchInfoBuilder::populate(EBuiltInOps::Type op, ConstStringRef o
ClDeviceVector deviceVector;
deviceVector.push_back(&clDevice);
prog.reset(BuiltinDispatchInfoBuilder::createProgramFromCode(src, deviceVector).release());
prog->build(deviceVector, options.data(), kernelsLib.isCacheingEnabled());
prog->build(deviceVector, options.data());
grabKernels(std::forward<KernelsDescArgsT>(desc)...);
}
} // namespace NEO

View File

@@ -83,7 +83,7 @@ Program *Vme::createBuiltInProgram(
builtinsBuilders["block_advanced_motion_estimate_bidirectional_check_intel"] =
&Vme::getBuiltinDispatchInfoBuilder(EBuiltInOps::VmeBlockAdvancedMotionEstimateBidirectionalCheckIntel, device);
errcodeRet = pBuiltInProgram->build(deviceVector, mediaKernelsBuildOptions, true, builtinsBuilders);
errcodeRet = pBuiltInProgram->build(deviceVector, mediaKernelsBuildOptions, builtinsBuilders);
} else {
errcodeRet = CL_INVALID_VALUE;
}