Skip to content

Commit ead1db4

Browse files
authored
typo fix (#29206)
1 parent 8e6cd7f commit ead1db4

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/plugins/intel_cpu/src/utils/cpu_utils.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ inline ov::element::Type normalizeToSupportedPrecision(ov::element::Type precisi
150150
*/
151151
inline std::vector<float> makeAlignedBuffer(size_t targetSize, const std::vector<float>& buffer, int align = -1) {
152152
if (buffer.empty()) {
153-
OPENVINO_THROW("Can't align buffer, becuase buffer is empty");
153+
OPENVINO_THROW("Can't align buffer, because buffer is empty");
154154
}
155155

156156
auto alignedBuffer = buffer;

src/plugins/intel_cpu/tests/unit/streams_info/streams_e2e_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ StreamGenerateionTestCase generation_latency_1sockets_14cores_1_unpinning = {
279279
{{20, 6, 8, 6, 0, 0}},
280280
ov::hint::SchedulingCoreType::ANY_CORE,
281281
true,
282-
false, // param[expected out]: enableCpuPinning needs to be false becuase OS cannot support thread pinning
282+
false, // param[expected out]: enableCpuPinning needs to be false because OS cannot support thread pinning
283283
ov::hint::PerformanceMode::LATENCY,
284284
{{20, 6, 8, 6, 0, 0}},
285285
{{1, ALL_PROC, 20, 0, 0},

src/plugins/intel_gpu/src/graph/primitive_inst.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ void primitive_inst::realloc_if_needed(bool prev_execution_skipped) {
803803
reset_user_output_memory(this, dep_memory_ptr(0));
804804
} else {
805805
// 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.
807807
if (prev_execution_skipped) {
808808
if (_outputs[0]) {
809809
reset_user_output_memory(this, _outputs[0]);
@@ -1423,13 +1423,13 @@ void primitive_inst::do_runtime_skip_gather() {
14231423
auto idx_rank = idx_shape.size();
14241424

14251425
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;
14271427
set_can_be_optimized(false);
14281428
return;
14291429
}
14301430

14311431
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;
14331433
set_can_be_optimized(false);
14341434
return;
14351435
}
@@ -1444,7 +1444,7 @@ void primitive_inst::do_runtime_skip_gather() {
14441444
// If the overhead for checking the index is bigger than doing gather itself, it does not make sense for skipping
14451445
const int MAX_INDICES_SIZE = 10*1024;
14461446
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;
14481448
set_can_be_optimized(false);
14491449
return;
14501450
}

src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_bfyx_gemm_like.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ bool ConvolutionKernel_bfyx_GEMMLike::Validate(const Params& p) const {
110110
return false;
111111
}
112112

113-
// Limit filter_x_size to 32 becasue convolution ref kernel is faster than GEMMLike kernel when filter size is bigger.
113+
// Limit filter_x_size to 32 because convolution ref kernel is faster than GEMMLike kernel when filter size is bigger.
114114
// 32 is chosen from filter size of customer model. May need to more measurement to pick optimal value
115115
const size_t acceptable_filter_x_size = 32;
116116
if (params.filterSize.x > acceptable_filter_x_size) {

thirdparty/flatbuffers/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set(FLATBUFFERS_BUILD_TESTS OFF CACHE BOOL "" FORCE)
66
set(FLATBUFFERS_INSTALL OFF CACHE BOOL "" FORCE)
77
set(FLATBUFFERS_CPP_STD ${CMAKE_CXX_STANDARD})
88

9-
# note: HOST_AARCH64 AND X86_64 are not handled for Apple explicitly, becuase it can work via Rosetta
9+
# note: HOST_AARCH64 AND X86_64 are not handled for Apple explicitly, because it can work via Rosetta
1010
if(CMAKE_CROSSCOMPILING OR (APPLE AND (HOST_X86_64 AND AARCH64)) )
1111
set(FLATBUFFERS_BUILD_FLATC OFF CACHE BOOL "" FORCE)
1212
else()

0 commit comments

Comments
 (0)