mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:

committed by
sys_ocldev

parent
b95c6ca2cc
commit
b77f9bf8d1
@ -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 = {};
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user