Remove Context::processExtraProperties function

Related-To: NEO-4700

Simplify SharingContextBuilder::processProperties function.

Change-Id: I78bbf06c688c37490d9d7f09c9bfc451f1e68d30
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-10-29 16:26:52 +01:00
committed by sys_ocldev
parent 0d35af9327
commit 818a5a683e
18 changed files with 62 additions and 133 deletions

View File

@@ -62,9 +62,9 @@ void *SharingFactory::getExtensionFunctionAddress(const std::string &functionNam
return nullptr;
}
bool SharingFactory::processProperties(cl_context_properties &propertyType, cl_context_properties &propertyValue, cl_int &errcodeRet) {
bool SharingFactory::processProperties(cl_context_properties &propertyType, cl_context_properties &propertyValue) {
for (auto &sharing : sharings) {
if (sharing->processProperties(propertyType, propertyValue, errcodeRet))
if (sharing->processProperties(propertyType, propertyValue))
return true;
}
return false;