Correct clCreateProgramWithBuiltInKernels

create program for all provided devices
move OCL specific code from shared to opencl

Related-To: NEO-5001
Change-Id: Ic352b4e907ae75426634ae4b3c7048edecaf83e7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-10-22 12:14:54 +02:00
committed by sys_ocldev
parent 8778b5c302
commit a5a5c94097
52 changed files with 387 additions and 354 deletions

View File

@ -17,7 +17,6 @@ struct CommandStreamFixture;
// helper functions to enforce MockCompiler input files
inline void overwriteBuiltInBinaryName(
Device *pDevice,
const std::string &filename,
bool appendOptionsToFileName = false) {
// set mock compiler to return expected kernel...
@ -34,7 +33,7 @@ inline void overwriteBuiltInBinaryName(
gEnvironment->igcPushDebugVars(igcDebugVars);
}
inline void restoreBuiltInBinaryName(Device *pDevice) {
inline void restoreBuiltInBinaryName() {
gEnvironment->igcPopDebugVars();
gEnvironment->fclPopDebugVars();
}