Skip to content

Commit

Permalink
cpu: x64: fix cloning of impl string in prim-desc of ip_conv
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiersch authored and tprimak committed Jan 11, 2023
1 parent 63ad769 commit fd69663
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/cpu/x64/ip_convolution.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright 2021-2022 Intel Corporation
* Copyright 2021-2023 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -155,7 +155,9 @@ struct ip_convolution_fwd_t : public primitive_t {
: cpu_convolution_fwd_pd_t(adesc, attr, hint_fwd_pd) {}

pd_t(const pd_t &other)
: cpu_convolution_fwd_pd_t(other), ip_pd_(other.ip_pd_->clone()) {}
: cpu_convolution_fwd_pd_t(other)
, ip_pd_(other.ip_pd_->clone())
, name_(other.name_) {}

~pd_t() = default;

Expand Down

0 comments on commit fd69663

Please sign in to comment.