SWDEV-1 - ROC CLR typos
This is cherry-picked from this github issue:
https://github.com/ROCm-Developer-Tools/ROCclr/issues/28
Change-Id: I236f4f25a2dabe05883159af0fab0bad06ab0fd0
[ROCm/clr commit: d45794e985]
This commit is contained in:
committad av
Jeremy Newton
förälder
3f93be3aec
incheckning
38928e85c1
@@ -1073,7 +1073,7 @@ bool ClBinary::setElfOut(unsigned char eclass,
|
||||
if ((elfOut_ == nullptr) || !elfOut_->isSuccessful()) {
|
||||
delete elfOut_;
|
||||
elfOut_ = nullptr;
|
||||
LogError("Creating ouput ELF object failed");
|
||||
LogError("Creating output ELF object failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -351,7 +351,7 @@ bool Program::linkLLVMBitcode(const amd_comgr_data_set_t inputs,
|
||||
amd_comgr_language_t langver;
|
||||
setLanguage(amdOptions->oVariables->CLStd, &langver);
|
||||
if (langver == AMD_COMGR_LANGUAGE_NONE) {
|
||||
DevLogPrintfError("Cannot set Langauge version for %s \n",
|
||||
DevLogPrintfError("Cannot set Language version for %s \n",
|
||||
amdOptions->oVariables->CLStd);
|
||||
return false;
|
||||
}
|
||||
@@ -409,7 +409,7 @@ bool Program::compileToLLVMBitcode(const amd_comgr_data_set_t compileInputs,
|
||||
amd_comgr_language_t langver;
|
||||
setLanguage(amdOptions->oVariables->CLStd, &langver);
|
||||
if (langver == AMD_COMGR_LANGUAGE_NONE) {
|
||||
DevLogPrintfError("Cannot set Langauge version for %s \n",
|
||||
DevLogPrintfError("Cannot set Language version for %s \n",
|
||||
amdOptions->oVariables->CLStd);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -125,9 +125,9 @@ void WLAlgorithmSmooth::outputTrace() {
|
||||
traceStream_ << "[WaveLimiter] " << manager_->name() << " state=" << state_ <<
|
||||
" waves=" << waves_ << " bestWave=" << bestWave_ << " worstWave=" << worstWave_ << '\n';
|
||||
output(traceStream_, "\n adaptive measure = ", adpMeasure_);
|
||||
output(traceStream_, "\n adaptive smaple count = ", adpSampleCnt_);
|
||||
output(traceStream_, "\n adaptive sample count = ", adpSampleCnt_);
|
||||
output(traceStream_, "\n run measure = ", runMeasure_);
|
||||
output(traceStream_, "\n run smaple count = ", runSampleCnt_);
|
||||
output(traceStream_, "\n run sample count = ", runSampleCnt_);
|
||||
traceStream_ << "\n % time from the previous runs to the best wave: ";
|
||||
float min = static_cast<float>(adpMeasure_[bestWave_]) / adpSampleCnt_[bestWave_];
|
||||
for (uint i = 0; i < (MaxWave + 1); ++i) {
|
||||
|
||||
@@ -246,7 +246,7 @@ bool LightningProgram::saveBinaryAndSetType(type_t type, void* rawBinary, size_t
|
||||
}
|
||||
else { // handle LLVM binary
|
||||
if (llvmBinary_.empty()) {
|
||||
buildLog_ += "ERROR: Tried to save emtpy LLVM binary \n";
|
||||
buildLog_ += "ERROR: Tried to save empty LLVM binary \n";
|
||||
return false;
|
||||
}
|
||||
rawBinary = (void*)llvmBinary_.data();
|
||||
|
||||
@@ -395,10 +395,10 @@ hsa_signal_t VirtualGPU::HwQueueTracker::ActiveSignal(
|
||||
signal_list_[current_id_]->release();
|
||||
signal_list_[current_id_] = signal.release();
|
||||
} else {
|
||||
assert(!"ProfilingSignal reallocaiton failed! Marker has a conflict with signal reuse!");
|
||||
assert(!"ProfilingSignal reallocation failed! Marker has a conflict with signal reuse!");
|
||||
}
|
||||
} else {
|
||||
assert(!"ProfilingSignal reallocaiton failed! Marker has a conflict with signal reuse!");
|
||||
assert(!"ProfilingSignal reallocation failed! Marker has a conflict with signal reuse!");
|
||||
}
|
||||
}
|
||||
ProfilingSignal* prof_signal = signal_list_[current_id_];
|
||||
|
||||
@@ -387,7 +387,7 @@ const void* Os::createOsThread(amd::Thread* thread) {
|
||||
// We never plan the use join, so free the resources now.
|
||||
::pthread_attr_setdetachstate(&threadAttr, PTHREAD_CREATE_DETACHED);
|
||||
if (!AMD_CPU_AFFINITY) {
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_INIT, "Reseting CPU core affinities");
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_INIT, "Resetting CPU core affinities");
|
||||
cpu_set_t cpuset;
|
||||
if (processorCount_ > 0) {
|
||||
CPU_ZERO(&cpuset);
|
||||
|
||||
@@ -74,7 +74,7 @@ bool Runtime::init() {
|
||||
if (!Flag::init() || !option::init() || !Device::init()
|
||||
// Agent initializes last
|
||||
|| !Agent::init()) {
|
||||
ClPrint(LOG_ERROR, LOG_INIT, "Runtime initilization failed");
|
||||
ClPrint(LOG_ERROR, LOG_INIT, "Runtime initialization failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Referens i nytt ärende
Block a user