@@ -803,7 +803,7 @@ void primitive_inst::realloc_if_needed(bool prev_execution_skipped) {
803
803
reset_user_output_memory (this , dep_memory_ptr (0 ));
804
804
} else {
805
805
// when this inst was not executed at the previous iteration,
806
- // Reset output memory becuase current output memory is invalid.
806
+ // Reset output memory because current output memory is invalid.
807
807
if (prev_execution_skipped) {
808
808
if (_outputs[0 ]) {
809
809
reset_user_output_memory (this , _outputs[0 ]);
@@ -1423,13 +1423,13 @@ void primitive_inst::do_runtime_skip_gather() {
1423
1423
auto idx_rank = idx_shape.size ();
1424
1424
1425
1425
if (_impl_params->get_input_layout (0 ).count () == 0 ) {
1426
- GPU_DEBUG_TRACE_DETAIL << " -- Cannot optimize becuase of input is empty " << _impl_params->get_input_layout (0 ).to_short_string () << std::endl;
1426
+ GPU_DEBUG_TRACE_DETAIL << " -- Cannot optimize because input is empty " << _impl_params->get_input_layout (0 ).to_short_string () << std::endl;
1427
1427
set_can_be_optimized (false );
1428
1428
return ;
1429
1429
}
1430
1430
1431
1431
if (idx_rank != 1 ) {
1432
- GPU_DEBUG_TRACE_DETAIL << " -- Cannot optimize becuase of its indices rank " << idx_rank << std::endl;
1432
+ GPU_DEBUG_TRACE_DETAIL << " -- Cannot optimize because of its indices rank " << idx_rank << std::endl;
1433
1433
set_can_be_optimized (false );
1434
1434
return ;
1435
1435
}
@@ -1444,7 +1444,7 @@ void primitive_inst::do_runtime_skip_gather() {
1444
1444
// If the overhead for checking the index is bigger than doing gather itself, it does not make sense for skipping
1445
1445
const int MAX_INDICES_SIZE = 10 *1024 ;
1446
1446
if (input_shape[axis] > MAX_INDICES_SIZE) {
1447
- GPU_DEBUG_TRACE_DETAIL << " --- Cannot optimize becuase data length along with the axis is too big" << input_shape[axis] << std::endl;
1447
+ GPU_DEBUG_TRACE_DETAIL << " --- Cannot optimize because data length along with the axis is too big" << input_shape[axis] << std::endl;
1448
1448
set_can_be_optimized (false );
1449
1449
return ;
1450
1450
}
0 commit comments