Remove Program::setDevice

device should be passed to constructor

Related-To: NEO-5001
Change-Id: If4c64ec405bdd3beaccc7c09644e22fc98a02249
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-10-12 16:11:31 +02:00
committed by sys_ocldev
parent b95c6ca2cc
commit b77f9bf8d1
3 changed files with 0 additions and 8 deletions

View File

@ -264,10 +264,6 @@ cl_int Program::updateSpecializationConstant(cl_uint specId, size_t specSize, co
return CL_INVALID_SPEC_ID;
}
void Program::setDevice(Device *device) {
this->pDevice = device;
}
cl_int Program::getSource(std::string &binary) const {
cl_int retVal = CL_INVALID_PROGRAM;
binary = {};

View File

@ -191,8 +191,6 @@ class Program : public BaseObject<_cl_program> {
return *pDevice;
}
void setDevice(Device *device);
cl_int processSpirBinary(const void *pBinary, size_t binarySize, bool isSpirV);
cl_int getSource(std::string &binary) const;