Skip to content

Commit 7ece6e4

Browse files
committed
fix: Fix various typos.
Signed-off-by: Timo Aaltonen <[email protected]>
1 parent 9903009 commit 7ece6e4

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

opencl/test/unit_test/offline_compiler/offline_compiler_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ Usage: ocloc multi <file_name>
387387
'-file <filename> -device <device_type> [compile_options]'.
388388
See 'ocloc compile --help' for available compile_options.
389389
Results of subsequent compilations will be dumped into
390-
a directory with name indentical file_name's base name.
390+
a directory with name identical file_name's base name.
391391
392392
-output_file_list Name of optional file containing
393393
paths to outputs .bin files

shared/offline_compiler/source/multi_command.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int MultiCommand::singleBuild(const std::vector<std::string> &args) {
4545
if (retVal == OCLOC_SUCCESS) {
4646
outputFile << getCurrentDirectoryOwn(outDirForBuilds) + outFileName;
4747
} else {
48-
outputFile << "Unsuccesful build";
48+
outputFile << "Unsuccessful build";
4949
}
5050
outputFile << '\n';
5151

@@ -167,7 +167,7 @@ Usage: ocloc multi <file_name>
167167
'-file <filename> -device <device_type> [compile_options]'.
168168
See 'ocloc compile --help' for available compile_options.
169169
Results of subsequent compilations will be dumped into
170-
a directory with name indentical file_name's base name.
170+
a directory with name identical file_name's base name.
171171
172172
-output_file_list Name of optional file containing
173173
paths to outputs .bin files

shared/source/compiler_interface/linker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ std::string constructRelocationsDebugMessage(const Linker::RelocatedSymbolsMap &
567567
return "";
568568
}
569569
std::stringstream stream;
570-
stream << "Relocations debug informations :\n";
570+
stream << "Relocations debug information :\n";
571571
for (const auto &symbol : relocatedSymbols) {
572572
stream << " * \"" << symbol.first << "\" [" << symbol.second.symbol.size << " bytes]";
573573
stream << " " << asString(symbol.second.symbol.segment) << "_SEGMENT@" << symbol.second.symbol.offset;

shared/source/compiler_interface/linker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ enum class LinkingStatus : uint32_t {
4545
inline const char *asString(SegmentType segment) {
4646
switch (segment) {
4747
default:
48-
return "UNKOWN";
48+
return "UNKNOWN";
4949
case SegmentType::globalConstants:
5050
return "GLOBAL_CONSTANTS";
5151
case SegmentType::globalVariables:

shared/test/unit_test/compiler_interface/linker_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include <string>
3333

3434
TEST(SegmentTypeTests, givenSegmentTypeWhenAsStringIsCalledThenProperRepresentationIsReturned) {
35-
EXPECT_STREQ("UNKOWN", NEO::asString(NEO::SegmentType::unknown));
35+
EXPECT_STREQ("UNKNOWN", NEO::asString(NEO::SegmentType::unknown));
3636
EXPECT_STREQ("GLOBAL_CONSTANTS", NEO::asString(NEO::SegmentType::globalConstants));
3737
EXPECT_STREQ("GLOBAL_VARIABLES", NEO::asString(NEO::SegmentType::globalVariables));
3838
EXPECT_STREQ("INSTRUCTIONS", NEO::asString(NEO::SegmentType::instructions));
@@ -1763,7 +1763,7 @@ TEST(RelocationsDebugMessageTests, givenListOfRelocatedSymbolsThenReturnProperDe
17631763
auto message = NEO::constructRelocationsDebugMessage(symbols);
17641764

17651765
std::stringstream expected;
1766-
expected << "Relocations debug informations :\n";
1766+
expected << "Relocations debug information :\n";
17671767
for (const auto &symbol : symbols) {
17681768
if (symbol.first == "foo") {
17691769
expected << " * \"foo\" [1024 bytes] INSTRUCTIONS_SEGMENT@64 -> 0x1000 GPUVA\n";

0 commit comments

Comments
 (0)