diff --git a/runtime/helpers/dispatch_info.h b/runtime/helpers/dispatch_info.h index 38bce952b0..f8709ce2fd 100644 --- a/runtime/helpers/dispatch_info.h +++ b/runtime/helpers/dispatch_info.h @@ -184,7 +184,7 @@ struct MultiDispatchInfo { Kernel *peekParentKernel() const; Kernel *peekMainKernel() const; - void setBuiltinOpParams(BuiltinOpParams builtinOpParams) { + void setBuiltinOpParams(const BuiltinOpParams &builtinOpParams) { this->builtinOpParams = builtinOpParams; }