mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
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:
committed by
Compute-Runtime-Automation
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;
|
||||
|
||||
Reference in New Issue
Block a user