SWDEV-563777 - further reduce compilation warnings (#2331)

This change resolves some of the warnings generated during clr builds.
Quiet regular output of doxygen.
Disable non-documented warnings of doxygen.

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
This commit is contained in:
sluzynsk-amd
2026-01-27 20:51:16 +01:00
committed by GitHub
parent b7829db10a
commit f37b100c34
5 changed files with 8 additions and 5 deletions
+2
View File
@@ -633,6 +633,8 @@ hipError_t ihipMemcpyCommand(amd::Command*& command, void* dst, const void* src,
*srcMemory->asBuffer(), *dstMemory->asBuffer(), sOffset,
dOffset, sizeBytes, copyMetadata);
break;
case hipHostToHost:
break;
}
if (command == nullptr) {
return hipErrorOutOfMemory;
+2 -1
View File
@@ -32,7 +32,8 @@ namespace {
inline bool IsMemPoolValid(MemoryPool* mem_pool) {
bool result = false;
for (auto it : g_devices) {
if (result = it->IsMemoryPoolValid(mem_pool) == true) {
result = it->IsMemoryPoolValid(mem_pool);
if (result) {
break;
}
}
+1 -1
View File
@@ -753,7 +753,7 @@ Device::Device()
vaCacheAccess_(nullptr),
vaCacheMap_(nullptr),
index_(0) {
memset(&info_, '\0', sizeof(info_));
memset(static_cast<void*>(&info_), '\0', sizeof(info_));
// By default consider just 1 xcc per device
info_.numberOfXccs_ = 1;
}
@@ -1616,7 +1616,7 @@ void VirtualGPU::dispatchBarrierValuePacket(uint16_t packetHeader, bool resolveD
barrier_value_packet_.cond = cond;
// Dependent signal and external signal cant be true at the same time
assert(resolveDepSignal & (signal.handle != 0) == 0);
assert((resolveDepSignal && (signal.handle != 0)) == false);
if (resolveDepSignal) {
auto wait_signals = Barriers().WaitingSignal();
if (wait_signals.size() > 0) {
+2 -2
View File
@@ -777,7 +777,7 @@ CITE_BIB_FILES =
# messages are off.
# The default value is: NO.
QUIET = NO
QUIET = YES
# The WARNINGS tag can be used to turn on/off the warning messages that are
# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
@@ -793,7 +793,7 @@ WARNINGS = YES
# will automatically be disabled.
# The default value is: YES.
WARN_IF_UNDOCUMENTED = YES
WARN_IF_UNDOCUMENTED = NO
# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
# potential errors in the documentation, such as not documenting some parameters