Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos in covolution in log messages #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions inc/zendnn.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4714,7 +4714,7 @@ struct convolution_forward : public primitive {
memory::validate_dims(strides, src_desc.data.ndims - 2);
memory::validate_dims(padding_l, src_desc.data.ndims - 2);
memory::validate_dims(padding_r, src_desc.data.ndims - 2);
zendnnInfo(ZENDNN_APILOG, "Covolution forward create");
zendnnInfo(ZENDNN_APILOG, "Convolution forward create");
error::wrap_c_api(
zendnn_convolution_forward_desc_init(&data,
zendnn::convert_to_c(aprop_kind),
Expand Down Expand Up @@ -4760,7 +4760,7 @@ struct convolution_forward : public primitive {
memory::validate_dims(strides, src_desc.data.ndims - 2);
memory::validate_dims(padding_l, src_desc.data.ndims - 2);
memory::validate_dims(padding_r, src_desc.data.ndims - 2);
zendnnInfo(ZENDNN_APILOG, "Covolution forward create");
zendnnInfo(ZENDNN_APILOG, "Convolution forward create");
error::wrap_c_api(
zendnn_convolution_forward_desc_init(&data,
zendnn::convert_to_c(aprop_kind),
Expand Down Expand Up @@ -4887,7 +4887,7 @@ struct convolution_forward : public primitive {
memory::validate_dims(strides, src_desc.data.ndims - 2);
memory::validate_dims(padding_l, src_desc.data.ndims - 2);
memory::validate_dims(padding_r, src_desc.data.ndims - 2);
zendnnInfo(ZENDNN_APILOG, "Covolution forward create");
zendnnInfo(ZENDNN_APILOG, "Convolution forward create");
error::wrap_c_api(
zendnn_fused_convolution_forward_desc_init(&data,
zendnn::convert_to_c(aprop_kind),
Expand Down Expand Up @@ -4918,7 +4918,7 @@ struct convolution_forward : public primitive {
memory::validate_dims(strides, src_desc.data.ndims - 2);
memory::validate_dims(padding_l, src_desc.data.ndims - 2);
memory::validate_dims(padding_r, src_desc.data.ndims - 2);
zendnnInfo(ZENDNN_APILOG, "Covolution forward create");
zendnnInfo(ZENDNN_APILOG, "Convolution forward create");
error::wrap_c_api(
zendnn_fused_convolution_forward_desc_init(&data,
zendnn::convert_to_c(aprop_kind),
Expand Down
6 changes: 3 additions & 3 deletions src/common/convolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ status_t conv_desc_init(convolution_desc_t *conv_desc, prop_kind_t prop_kind,
}
if (!consistency) return invalid_arguments;

zendnnInfo(ZENDNN_CORELOG, "Covolution desc init [convolution]");
zendnnInfo(ZENDNN_CORELOG, "Convolution desc init [convolution]");
*conv_desc = cd;
return success;
}
Expand All @@ -174,7 +174,7 @@ status_t zendnn_convolution_forward_desc_init(convolution_desc_t *conv_desc,
if (!one_of(prop_kind, forward_training, forward_inference))
return invalid_arguments;

zendnnInfo(ZENDNN_CORELOG, "Covolution forward desc - basic [convolution]");
zendnnInfo(ZENDNN_CORELOG, "Convolution forward desc - basic [convolution]");
return zendnn::impl::conv_desc_init(conv_desc, prop_kind, alg_kind, src_desc,
weights_desc, bias_desc, dst_desc, strides, nullptr, padding_l,
padding_r, false, false, nullptr, nullptr, nullptr);
Expand All @@ -193,7 +193,7 @@ status_t zendnn_fused_convolution_forward_desc_init(convolution_desc_t *conv_des
return invalid_arguments;
}

zendnnInfo(ZENDNN_CORELOG, "Covolution forward desc - fused [convolution]");
zendnnInfo(ZENDNN_CORELOG, "Convolution forward desc - fused [convolution]");
return zendnn::impl::conv_desc_init(conv_desc, prop_kind, alg_kind, src_desc,
weights_desc, bias_desc, dst_desc,
strides, nullptr, padding_l, padding_r,
Expand Down