Skip to content

Commit 097acb5

Browse files
kwierschtprimak
authored andcommitted
cpu: x64: remove x64 from impl string of ip_conv
1 parent fd69663 commit 097acb5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/cpu/x64/ip_convolution.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,12 @@ struct ip_convolution_fwd_t : public primitive_t {
209209
private:
210210
std::string name_ = "ip:";
211211

212-
void init_name() { name_.append(ip_pd_->name()); }
212+
void init_name() {
213+
const std::string ips(ip_pd_->name());
214+
const std::string prefix = "x64:";
215+
const size_t pos = ips.find(prefix);
216+
name_.append(ips, pos + prefix.length(), std::string::npos);
217+
}
213218

214219
void init_scratchpad() {
215220
using namespace memory_tracking::names;

0 commit comments

Comments
 (0)