refactor: remove not needed code in BuiltinFunctionsLibImpl
- builtins are released with the object, no need for explicit release of just first builtin in array Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
parent
435b6f8e28
commit
3abd99030a
|
@ -28,8 +28,6 @@ struct BuiltinFunctionsLibImpl : BuiltinFunctionsLib {
|
|||
BuiltinFunctionsLibImpl(Device *device, NEO::BuiltIns *builtInsLib);
|
||||
~BuiltinFunctionsLibImpl() override {
|
||||
this->ensureInitCompletionImpl();
|
||||
builtins->reset();
|
||||
imageBuiltins->reset();
|
||||
}
|
||||
|
||||
Kernel *getFunction(Builtin func) override;
|
||||
|
|
Loading…
Reference in New Issue