mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: correct naming of enum class constants 11/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
88534f1f3c
commit
138fb65401
@@ -36,7 +36,7 @@ T *Program::create(
|
||||
break;
|
||||
}
|
||||
}
|
||||
program->createdFrom = CreatedFrom::BINARY;
|
||||
program->createdFrom = CreatedFrom::binary;
|
||||
|
||||
if (binaryStatus) {
|
||||
DEBUG_BREAK_IF(retVal != CL_SUCCESS);
|
||||
@@ -84,7 +84,7 @@ T *Program::create(
|
||||
}
|
||||
}
|
||||
program->sourceCode.swap(combinedString);
|
||||
program->createdFrom = CreatedFrom::SOURCE;
|
||||
program->createdFrom = CreatedFrom::source;
|
||||
}
|
||||
|
||||
errcodeRet = retVal;
|
||||
@@ -107,7 +107,7 @@ T *Program::createBuiltInFromSource(
|
||||
if (retVal == CL_SUCCESS) {
|
||||
program = new T(context, true, deviceVector);
|
||||
program->sourceCode = nullTerminatedString;
|
||||
program->createdFrom = CreatedFrom::SOURCE;
|
||||
program->createdFrom = CreatedFrom::source;
|
||||
}
|
||||
|
||||
if (errcodeRet) {
|
||||
@@ -141,7 +141,7 @@ T *Program::createBuiltInFromGenBinary(
|
||||
}
|
||||
program->setBuildStatusSuccess(deviceVector, CL_PROGRAM_BINARY_TYPE_EXECUTABLE);
|
||||
program->isCreatedFromBinary = true;
|
||||
program->createdFrom = CreatedFrom::BINARY;
|
||||
program->createdFrom = CreatedFrom::binary;
|
||||
}
|
||||
|
||||
if (errcodeRet) {
|
||||
@@ -171,7 +171,7 @@ T *Program::createFromIL(Context *context,
|
||||
break;
|
||||
}
|
||||
}
|
||||
program->createdFrom = CreatedFrom::IL;
|
||||
program->createdFrom = CreatedFrom::il;
|
||||
|
||||
if (errcodeRet != CL_SUCCESS) {
|
||||
delete program;
|
||||
|
||||
Reference in New Issue
Block a user