File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/* ******************************************************************************
2
- * Copyright 2019-2024 Intel Corporation
2
+ * Copyright 2019-2025 Intel Corporation
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ status_t gen_convolution_fwd_t::pd_t::init(impl::engine_t *engine) {
192
192
}
193
193
194
194
status_t gen_convolution_fwd_t::init (impl::engine_t *engine) {
195
- impl_. reset ( new gen_convolution_t () );
195
+ impl_ = std::make_shared< gen_convolution_t >( );
196
196
return impl_->init (this , engine);
197
197
}
198
198
@@ -205,7 +205,7 @@ status_t gen_convolution_bwd_data_t::pd_t::init(impl::engine_t *engine) {
205
205
}
206
206
207
207
status_t gen_convolution_bwd_data_t::init (impl::engine_t *engine) {
208
- impl_. reset ( new gen_convolution_t () );
208
+ impl_ = std::make_shared< gen_convolution_t >( );
209
209
return impl_->init (this , engine);
210
210
}
211
211
@@ -219,7 +219,7 @@ status_t gen_convolution_bwd_weights_t::pd_t::init(impl::engine_t *engine) {
219
219
}
220
220
221
221
status_t gen_convolution_bwd_weights_t::init (impl::engine_t *engine) {
222
- impl_. reset ( new gen_convolution_t () );
222
+ impl_ = std::make_shared< gen_convolution_t >( );
223
223
return impl_->init (this , engine);
224
224
}
225
225
Original file line number Diff line number Diff line change @@ -1038,7 +1038,7 @@ void kernel_desc_t::show_help() {
1038
1038
1039
1039
grid_t create_thread_group_grid (const kernel_desc_t &desc) {
1040
1040
grid_t grid (jit::ir_builder_t ::tg_idx);
1041
- auto set = [&](const pvar_t dim, int idx) {
1041
+ auto set = [&](const pvar_t & dim, int idx) {
1042
1042
grid.add_mapping (dim, desc.use_stream_k ? 0 : idx);
1043
1043
};
1044
1044
switch (desc.prop ) {
You can’t perform that action at this time.
0 commit comments