Fix docs + cmake_utils path issues

This corrects issues that arose after OAM reorganization.
It should address SWDEV-243294.

Also, fix some compile warnings that show up on RHEL.

Change-Id: Id14d444905da35cd7346bcfbcd82b6d0572708c4


[ROCm/rocm_smi_lib commit: c2ef9a6879]
Dieser Commit ist enthalten in:
Chris Freehill
2020-07-07 16:10:10 -05:00
Ursprung 77083980a8
Commit 001aa0b825
7 geänderte Dateien mit 30 neuen und 17 gelöschten Zeilen
@@ -79,7 +79,8 @@
#define DEVICE_MUTEX \
amd::smi::pthread_wrap _pw(*amd::smi::GetMutex(dv_ind)); \
amd::smi::RocmSMI& smi_ = amd::smi::RocmSMI::getInstance(); \
bool blocking_ = !(smi_.init_options() && RSMI_INIT_FLAG_RESRV_TEST1); \
bool blocking_ = !(smi_.init_options() && \
static_cast<uint64_t>(RSMI_INIT_FLAG_RESRV_TEST1)); \
amd::smi::ScopedPthread _lock(_pw, blocking_); \
if (!blocking_ && _lock.mutex_not_acquired()) { \
return RSMI_STATUS_BUSY; \