diff --git a/shared/source/compiler_interface/external_functions.cpp b/shared/source/compiler_interface/external_functions.cpp index c44b80894a..966e369ab5 100644 --- a/shared/source/compiler_interface/external_functions.cpp +++ b/shared/source/compiler_interface/external_functions.cpp @@ -61,7 +61,7 @@ uint32_t resolveExtFuncDependencies(ExternalFunctionInfosT externalFunctionInfos DependencyResolver depResolver(dependencies); auto resolved = depResolver.resolveDependencies(); if (depResolver.hasLoop()) { - return ERROR_LOOP_DETECKTED; + return ERROR_LOOP_DETECTED; } for (auto calleeId : resolved) { const auto callee = externalFunctionInfos[calleeId]; diff --git a/shared/source/compiler_interface/external_functions.h b/shared/source/compiler_interface/external_functions.h index f4cd790489..8f80dae3b1 100644 --- a/shared/source/compiler_interface/external_functions.h +++ b/shared/source/compiler_interface/external_functions.h @@ -20,7 +20,7 @@ enum ExternalFunctionResolveError : uint32_t { RESOLVE_SUCCESS = 0, ERROR_EXTERNAL_FUNCTION_INFO_MISSING, ERROR_KERNEL_DESCRIPTOR_MISSING, - ERROR_LOOP_DETECKTED + ERROR_LOOP_DETECTED }; struct ExternalFunctionInfo { diff --git a/shared/source/device_binary_format/zebin_decoder.cpp b/shared/source/device_binary_format/zebin_decoder.cpp index 43c3d0e150..889df7ec68 100644 --- a/shared/source/device_binary_format/zebin_decoder.cpp +++ b/shared/source/device_binary_format/zebin_decoder.cpp @@ -1650,7 +1650,7 @@ NEO::DecodeError decodeAndPopulateKernelMiscInfo(ProgramInfo &dst, ConstStringRe } } if (nullptr == kernelInfo) { - outErrReason.append("DeviceBinaryFormat::Zebin : Error : Cannot found kernel info for kernel " + kName + ".\n"); + outErrReason.append("DeviceBinaryFormat::Zebin : Error : Cannot find kernel info for kernel " + kName + ".\n"); return DecodeError::InvalidBinary; } populateKernelMiscInfo(kernelInfo->kernelDescriptor, miscInfos, outErrReason, outWarning); diff --git a/shared/test/unit_test/compiler_interface/external_functions_tests.cpp b/shared/test/unit_test/compiler_interface/external_functions_tests.cpp index b272f3394c..224c650e20 100644 --- a/shared/test/unit_test/compiler_interface/external_functions_tests.cpp +++ b/shared/test/unit_test/compiler_interface/external_functions_tests.cpp @@ -144,7 +144,7 @@ TEST_F(ExternalFunctionsTests, GivenLoopWhenResolvingExtFuncDependenciesThenRetu addFuncDependency("fun1", "fun0"); set(); auto error = resolveExtFuncDependencies(extFuncInfo, funcNameToId, functionDependencies); - EXPECT_EQ(ERROR_LOOP_DETECKTED, error); + EXPECT_EQ(ERROR_LOOP_DETECTED, error); } TEST_F(ExternalFunctionsTests, GivenMissingExtFuncInLookupMapWhenResolvingKernelDependenciesThenReturnError) { diff --git a/shared/test/unit_test/device_binary_format/zebin_decoder_tests.cpp b/shared/test/unit_test/device_binary_format/zebin_decoder_tests.cpp index 2e1b874a01..16bbe56005 100644 --- a/shared/test/unit_test/device_binary_format/zebin_decoder_tests.cpp +++ b/shared/test/unit_test/device_binary_format/zebin_decoder_tests.cpp @@ -851,7 +851,7 @@ kernels_misc_info: auto res = decodeAndPopulateKernelMiscInfo(programInfo, kernelMiscInfo, outErrors, outWarnings); EXPECT_EQ(DecodeError::InvalidBinary, res); - auto expectedError{"DeviceBinaryFormat::Zebin : Error : Cannot found kernel info for kernel some_kernel.\n"}; + auto expectedError{"DeviceBinaryFormat::Zebin : Error : Cannot find kernel info for kernel some_kernel.\n"}; EXPECT_STREQ(outErrors.c_str(), expectedError); }