Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

typo fix (#29206)

Mingyu Kimead1db4eae1b
diff --git a/src/plugins/intel_cpu/src/utils/cpu_utils.hpp b/src/plugins/intel_cpu/src/utils/cpu_utils.hpp
index 58a0a8fc693..ae0dc640ea2 100644
--- a/src/plugins/intel_cpu/src/utils/cpu_utils.hpp
+++ b/src/plugins/intel_cpu/src/utils/cpu_utils.hpp
@@ -150,7 +150,7 @@ inline ov::element::Type normalizeToSupportedPrecision(ov::element::Type precisi
*/
inline std::vector<float> makeAlignedBuffer(size_t targetSize, const std::vector<float>& buffer, int align = -1) {
if (buffer.empty()) {
- OPENVINO_THROW("Can't align buffer, becuase buffer is empty");
+ OPENVINO_THROW("Can't align buffer, because buffer is empty");
}
auto alignedBuffer = buffer;
diff --git a/src/plugins/intel_cpu/tests/unit/streams_info/streams_e2e_test.cpp b/src/plugins/intel_cpu/tests/unit/streams_info/streams_e2e_test.cpp
index a6981cfbbe1..2d6adfac65a 100644
--- a/src/plugins/intel_cpu/tests/unit/streams_info/streams_e2e_test.cpp
+++ b/src/plugins/intel_cpu/tests/unit/streams_info/streams_e2e_test.cpp
@@ -279,7 +279,7 @@ StreamGenerateionTestCase generation_latency_1sockets_14cores_1_unpinning = {
{{20, 6, 8, 6, 0, 0}},
ov::hint::SchedulingCoreType::ANY_CORE,
true,
- false, // param[expected out]: enableCpuPinning needs to be false becuase OS cannot support thread pinning
+ false, // param[expected out]: enableCpuPinning needs to be false because OS cannot support thread pinning
ov::hint::PerformanceMode::LATENCY,
{{20, 6, 8, 6, 0, 0}},
{{1, ALL_PROC, 20, 0, 0},
diff --git a/src/plugins/intel_gpu/src/graph/primitive_inst.cpp b/src/plugins/intel_gpu/src/graph/primitive_inst.cpp
index 901d3d593f6..37c70e03b4b 100644
--- a/src/plugins/intel_gpu/src/graph/primitive_inst.cpp
+++ b/src/plugins/intel_gpu/src/graph/primitive_inst.cpp
@@ -803,7 +803,7 @@ void primitive_inst::realloc_if_needed(bool prev_execution_skipped) {
reset_user_output_memory(this, dep_memory_ptr(0));
} else {
// when this inst was not executed at the previous iteration,
- // Reset output memory becuase current output memory is invalid.
+ // Reset output memory because current output memory is invalid.
if (prev_execution_skipped) {
if (_outputs[0]) {
reset_user_output_memory(this, _outputs[0]);
@@ -1423,13 +1423,13 @@ void primitive_inst::do_runtime_skip_gather() {
auto idx_rank = idx_shape.size();
if (_impl_params->get_input_layout(0).count() == 0) {
- GPU_DEBUG_TRACE_DETAIL << "-- Cannot optimize becuase of input is empty " << _impl_params->get_input_layout(0).to_short_string() << std::endl;
+ GPU_DEBUG_TRACE_DETAIL << "-- Cannot optimize because input is empty " << _impl_params->get_input_layout(0).to_short_string() << std::endl;
set_can_be_optimized(false);
return;
}
if (idx_rank != 1) {
- GPU_DEBUG_TRACE_DETAIL << "-- Cannot optimize becuase of its indices rank " << idx_rank << std::endl;
+ GPU_DEBUG_TRACE_DETAIL << "-- Cannot optimize because of its indices rank " << idx_rank << std::endl;
set_can_be_optimized(false);
return;
}
@@ -1444,7 +1444,7 @@ void primitive_inst::do_runtime_skip_gather() {
// If the overhead for checking the index is bigger than doing gather itself, it does not make sense for skipping
const int MAX_INDICES_SIZE = 10*1024;
if (input_shape[axis] > MAX_INDICES_SIZE) {
- GPU_DEBUG_TRACE_DETAIL << "--- Cannot optimize becuase data length along with the axis is too big" << input_shape[axis] << std::endl;
+ GPU_DEBUG_TRACE_DETAIL << "--- Cannot optimize because data length along with the axis is too big" << input_shape[axis] << std::endl;
set_can_be_optimized(false);
return;
}
diff --git a/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_bfyx_gemm_like.cpp b/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_bfyx_gemm_like.cpp
index 2033ba92b46..d57fff648ef 100644
--- a/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_bfyx_gemm_like.cpp
+++ b/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_bfyx_gemm_like.cpp
@@ -110,7 +110,7 @@ bool ConvolutionKernel_bfyx_GEMMLike::Validate(const Params& p) const {
return false;
}
- // Limit filter_x_size to 32 becasue convolution ref kernel is faster than GEMMLike kernel when filter size is bigger.
+ // Limit filter_x_size to 32 because convolution ref kernel is faster than GEMMLike kernel when filter size is bigger.
// 32 is chosen from filter size of customer model. May need to more measurement to pick optimal value
const size_t acceptable_filter_x_size = 32;
if (params.filterSize.x > acceptable_filter_x_size) {
diff --git a/thirdparty/flatbuffers/CMakeLists.txt b/thirdparty/flatbuffers/CMakeLists.txt
index ffe50dfe73c..c0367c48cfa 100644
--- a/thirdparty/flatbuffers/CMakeLists.txt
+++ b/thirdparty/flatbuffers/CMakeLists.txt
@@ -6,7 +6,7 @@ set(FLATBUFFERS_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(FLATBUFFERS_INSTALL OFF CACHE BOOL "" FORCE)
set(FLATBUFFERS_CPP_STD ${CMAKE_CXX_STANDARD})
-# note: HOST_AARCH64 AND X86_64 are not handled for Apple explicitly, becuase it can work via Rosetta
+# note: HOST_AARCH64 AND X86_64 are not handled for Apple explicitly, because it can work via Rosetta
if(CMAKE_CROSSCOMPILING OR (APPLE AND (HOST_X86_64 AND AARCH64)) )
set(FLATBUFFERS_BUILD_FLATC OFF CACHE BOOL "" FORCE)
else()