mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
ef10c98497
commit
5149d74141
@@ -33,8 +33,7 @@ namespace NEO {
|
||||
|
||||
cl_int Program::build(
|
||||
const ClDeviceVector &deviceVector,
|
||||
const char *buildOptions,
|
||||
bool enableCaching) {
|
||||
const char *buildOptions) {
|
||||
cl_int retVal = CL_SUCCESS;
|
||||
auto internalOptions = getInternalOptions();
|
||||
auto defaultClDevice = deviceVector[0];
|
||||
@@ -131,7 +130,6 @@ cl_int Program::build(
|
||||
DBG_LOG(LogApiCalls,
|
||||
"Build Options", inputArgs.apiOptions.begin(),
|
||||
"\nBuild Internal Options", inputArgs.internalOptions.begin());
|
||||
inputArgs.allowCaching = enableCaching;
|
||||
NEO::TranslationOutput compilerOuput = {};
|
||||
|
||||
for (const auto &clDevice : deviceVector) {
|
||||
@@ -217,9 +215,9 @@ void Program::notifyDebuggerWithSourceCode(ClDevice &clDevice, std::string &file
|
||||
}
|
||||
}
|
||||
|
||||
cl_int Program::build(const ClDeviceVector &deviceVector, const char *buildOptions, bool enableCaching,
|
||||
cl_int Program::build(const ClDeviceVector &deviceVector, const char *buildOptions,
|
||||
std::unordered_map<std::string, BuiltinDispatchInfoBuilder *> &builtinsMap) {
|
||||
auto ret = this->build(deviceVector, buildOptions, enableCaching);
|
||||
auto ret = this->build(deviceVector, buildOptions);
|
||||
if (ret != CL_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -128,10 +128,9 @@ class Program : public BaseObject<_cl_program> {
|
||||
Program(const Program &) = delete;
|
||||
Program &operator=(const Program &) = delete;
|
||||
|
||||
cl_int build(const ClDeviceVector &deviceVector, const char *buildOptions,
|
||||
bool enableCaching);
|
||||
cl_int build(const ClDeviceVector &deviceVector, const char *buildOptions);
|
||||
|
||||
cl_int build(const ClDeviceVector &deviceVector, const char *buildOptions, bool enableCaching,
|
||||
cl_int build(const ClDeviceVector &deviceVector, const char *buildOptions,
|
||||
std::unordered_map<std::string, BuiltinDispatchInfoBuilder *> &builtinsMap);
|
||||
|
||||
cl_int processGenBinaries(const ClDeviceVector &clDevices, std::unordered_map<uint32_t, BuildPhase> &phaseReached);
|
||||
|
||||
Reference in New Issue
Block a user