mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +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]'.
|
'-file <filename> -device <device_type> [compile_options]'.
|
||||||
See 'ocloc compile --help' for available compile_options.
|
See 'ocloc compile --help' for available compile_options.
|
||||||
Results of subsequent compilations will be dumped into
|
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
|
-output_file_list Name of optional file containing
|
||||||
paths to outputs .bin files
|
paths to outputs .bin files
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ int MultiCommand::singleBuild(const std::vector<std::string> &args) {
|
|||||||
if (retVal == OCLOC_SUCCESS) {
|
if (retVal == OCLOC_SUCCESS) {
|
||||||
outputFile << getCurrentDirectoryOwn(outDirForBuilds) + outFileName;
|
outputFile << getCurrentDirectoryOwn(outDirForBuilds) + outFileName;
|
||||||
} else {
|
} else {
|
||||||
outputFile << "Unsuccesful build";
|
outputFile << "Unsuccessful build";
|
||||||
}
|
}
|
||||||
outputFile << '\n';
|
outputFile << '\n';
|
||||||
|
|
||||||
@@ -167,7 +167,7 @@ Usage: ocloc multi <file_name>
|
|||||||
'-file <filename> -device <device_type> [compile_options]'.
|
'-file <filename> -device <device_type> [compile_options]'.
|
||||||
See 'ocloc compile --help' for available compile_options.
|
See 'ocloc compile --help' for available compile_options.
|
||||||
Results of subsequent compilations will be dumped into
|
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
|
-output_file_list Name of optional file containing
|
||||||
paths to outputs .bin files
|
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
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -567,7 +567,7 @@ std::string constructRelocationsDebugMessage(const Linker::RelocatedSymbolsMap &
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
std::stringstream stream;
|
std::stringstream stream;
|
||||||
stream << "Relocations debug informations :\n";
|
stream << "Relocations debug information :\n";
|
||||||
for (const auto &symbol : relocatedSymbols) {
|
for (const auto &symbol : relocatedSymbols) {
|
||||||
stream << " * \"" << symbol.first << "\" [" << symbol.second.symbol.size << " bytes]";
|
stream << " * \"" << symbol.first << "\" [" << symbol.second.symbol.size << " bytes]";
|
||||||
stream << " " << asString(symbol.second.symbol.segment) << "_SEGMENT@" << symbol.second.symbol.offset;
|
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
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -45,7 +45,7 @@ enum class LinkingStatus : uint32_t {
|
|||||||
inline const char *asString(SegmentType segment) {
|
inline const char *asString(SegmentType segment) {
|
||||||
switch (segment) {
|
switch (segment) {
|
||||||
default:
|
default:
|
||||||
return "UNKOWN";
|
return "UNKNOWN";
|
||||||
case SegmentType::globalConstants:
|
case SegmentType::globalConstants:
|
||||||
return "GLOBAL_CONSTANTS";
|
return "GLOBAL_CONSTANTS";
|
||||||
case SegmentType::globalVariables:
|
case SegmentType::globalVariables:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2019-2023 Intel Corporation
|
* Copyright (C) 2019-2024 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
TEST(SegmentTypeTests, givenSegmentTypeWhenAsStringIsCalledThenProperRepresentationIsReturned) {
|
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_CONSTANTS", NEO::asString(NEO::SegmentType::globalConstants));
|
||||||
EXPECT_STREQ("GLOBAL_VARIABLES", NEO::asString(NEO::SegmentType::globalVariables));
|
EXPECT_STREQ("GLOBAL_VARIABLES", NEO::asString(NEO::SegmentType::globalVariables));
|
||||||
EXPECT_STREQ("INSTRUCTIONS", NEO::asString(NEO::SegmentType::instructions));
|
EXPECT_STREQ("INSTRUCTIONS", NEO::asString(NEO::SegmentType::instructions));
|
||||||
@@ -1763,7 +1763,7 @@ TEST(RelocationsDebugMessageTests, givenListOfRelocatedSymbolsThenReturnProperDe
|
|||||||
auto message = NEO::constructRelocationsDebugMessage(symbols);
|
auto message = NEO::constructRelocationsDebugMessage(symbols);
|
||||||
|
|
||||||
std::stringstream expected;
|
std::stringstream expected;
|
||||||
expected << "Relocations debug informations :\n";
|
expected << "Relocations debug information :\n";
|
||||||
for (const auto &symbol : symbols) {
|
for (const auto &symbol : symbols) {
|
||||||
if (symbol.first == "foo") {
|
if (symbol.first == "foo") {
|
||||||
expected << " * \"foo\" [1024 bytes] INSTRUCTIONS_SEGMENT@64 -> 0x1000 GPUVA\n";
|
expected << " * \"foo\" [1024 bytes] INSTRUCTIONS_SEGMENT@64 -> 0x1000 GPUVA\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user