mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
fix: Fix various typos.
Signed-off-by: Timo Aaltonen <tjaalton@debian.org>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
34544c35dc
commit
cb984b3e4b
@@ -387,7 +387,7 @@ Usage: ocloc multi <file_name>
|
||||
'-file <filename> -device <device_type> [compile_options]'.
|
||||
See 'ocloc compile --help' for available compile_options.
|
||||
Results of subsequent compilations will be dumped into
|
||||
a directory with name indentical file_name's base name.
|
||||
a directory with name identical file_name's base name.
|
||||
|
||||
-output_file_list Name of optional file containing
|
||||
paths to outputs .bin files
|
||||
|
||||
@@ -45,7 +45,7 @@ int MultiCommand::singleBuild(const std::vector<std::string> &args) {
|
||||
if (retVal == OCLOC_SUCCESS) {
|
||||
outputFile << getCurrentDirectoryOwn(outDirForBuilds) + outFileName;
|
||||
} else {
|
||||
outputFile << "Unsuccesful build";
|
||||
outputFile << "Unsuccessful build";
|
||||
}
|
||||
outputFile << '\n';
|
||||
|
||||
@@ -167,7 +167,7 @@ Usage: ocloc multi <file_name>
|
||||
'-file <filename> -device <device_type> [compile_options]'.
|
||||
See 'ocloc compile --help' for available compile_options.
|
||||
Results of subsequent compilations will be dumped into
|
||||
a directory with name indentical file_name's base name.
|
||||
a directory with name identical file_name's base name.
|
||||
|
||||
-output_file_list Name of optional file containing
|
||||
paths to outputs .bin files
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2023 Intel Corporation
|
||||
* Copyright (C) 2019-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -567,7 +567,7 @@ std::string constructRelocationsDebugMessage(const Linker::RelocatedSymbolsMap &
|
||||
return "";
|
||||
}
|
||||
std::stringstream stream;
|
||||
stream << "Relocations debug informations :\n";
|
||||
stream << "Relocations debug information :\n";
|
||||
for (const auto &symbol : relocatedSymbols) {
|
||||
stream << " * \"" << symbol.first << "\" [" << symbol.second.symbol.size << " bytes]";
|
||||
stream << " " << asString(symbol.second.symbol.segment) << "_SEGMENT@" << symbol.second.symbol.offset;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2023 Intel Corporation
|
||||
* Copyright (C) 2019-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -45,7 +45,7 @@ enum class LinkingStatus : uint32_t {
|
||||
inline const char *asString(SegmentType segment) {
|
||||
switch (segment) {
|
||||
default:
|
||||
return "UNKOWN";
|
||||
return "UNKNOWN";
|
||||
case SegmentType::globalConstants:
|
||||
return "GLOBAL_CONSTANTS";
|
||||
case SegmentType::globalVariables:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2023 Intel Corporation
|
||||
* Copyright (C) 2019-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <string>
|
||||
|
||||
TEST(SegmentTypeTests, givenSegmentTypeWhenAsStringIsCalledThenProperRepresentationIsReturned) {
|
||||
EXPECT_STREQ("UNKOWN", NEO::asString(NEO::SegmentType::unknown));
|
||||
EXPECT_STREQ("UNKNOWN", NEO::asString(NEO::SegmentType::unknown));
|
||||
EXPECT_STREQ("GLOBAL_CONSTANTS", NEO::asString(NEO::SegmentType::globalConstants));
|
||||
EXPECT_STREQ("GLOBAL_VARIABLES", NEO::asString(NEO::SegmentType::globalVariables));
|
||||
EXPECT_STREQ("INSTRUCTIONS", NEO::asString(NEO::SegmentType::instructions));
|
||||
@@ -1763,7 +1763,7 @@ TEST(RelocationsDebugMessageTests, givenListOfRelocatedSymbolsThenReturnProperDe
|
||||
auto message = NEO::constructRelocationsDebugMessage(symbols);
|
||||
|
||||
std::stringstream expected;
|
||||
expected << "Relocations debug informations :\n";
|
||||
expected << "Relocations debug information :\n";
|
||||
for (const auto &symbol : symbols) {
|
||||
if (symbol.first == "foo") {
|
||||
expected << " * \"foo\" [1024 bytes] INSTRUCTIONS_SEGMENT@64 -> 0x1000 GPUVA\n";
|
||||
|
||||
Reference in New Issue
Block a user