SWDEV-381633 - Better log
Change-Id: Ie151d73aa4b1dae7d0d9acd0457e7dbdf35f21ee
This commit is contained in:
@@ -2962,7 +2962,7 @@ bool Program::runInitFiniKernel(kernel_kind_t kind) const {
|
||||
amd::HostQueue* queue = nullptr;
|
||||
|
||||
for (const auto& i : kernels_) {
|
||||
LogPrintfInfo("For Init/Fini: Kernel Name: %s", i.first.c_str());
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_INIT, "For Init/Fini: Kernel Name: %s", i.first.c_str());
|
||||
const auto &kernel = i.second;
|
||||
if ((kernel->isInitKernel() && kind == kernel_kind_t::InitKernel) ||
|
||||
(kernel->isFiniKernel() && kind == kernel_kind_t::FiniKernel)) {
|
||||
|
||||
@@ -1622,7 +1622,7 @@ bool Device::populateOCLDeviceConstants() {
|
||||
LogError("HSA_AMD_AGENT_INFO_SVM_DIRECT_HOST_ACCESS query failed.");
|
||||
}
|
||||
|
||||
LogPrintfInfo("HMM support: %d, xnack: %d, direct host access: %d\n",
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_INIT, "HMM support: %d, xnack: %d, direct host access: %d\n",
|
||||
info_.hmmSupported_, info_.hmmCpuMemoryAccessible_, info_.hmmDirectHostAccess_);
|
||||
|
||||
info_.globalCUMask_ = {};
|
||||
|
||||
Reference in New Issue
Block a user