diff --git a/hipamd/src/hip_memory.cpp b/hipamd/src/hip_memory.cpp index 67e845169f..0288f87bb4 100644 --- a/hipamd/src/hip_memory.cpp +++ b/hipamd/src/hip_memory.cpp @@ -3364,7 +3364,7 @@ hipError_t hipPointerGetAttributes(hipPointerAttribute_t* attributes, const void HIP_RETURN(hipSuccess); } - LogPrintfError("Cannot get amd_mem_obj for ptr: 0x%x \n", ptr); + LogPrintfError("Cannot get amd_mem_obj for ptr: %p \n", ptr); HIP_RETURN(hipErrorInvalidValue); } diff --git a/rocclr/device/rocm/rocsignal.cpp b/rocclr/device/rocm/rocsignal.cpp index d6a7b68eb5..83e7b89899 100644 --- a/rocclr/device/rocm/rocsignal.cpp +++ b/rocclr/device/rocm/rocsignal.cpp @@ -18,8 +18,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#include "top.hpp" +#include "utils/flags.hpp" +#include "utils/debug.hpp" #include "rocsignal.hpp" - namespace roc { Signal::~Signal() { @@ -33,7 +35,7 @@ bool Signal::Init(const amd::Device& dev, uint64_t init, device::Signal::WaitSta } ws_ = ws; - + ClPrint(amd::LOG_DEBUG, amd::LOG_AQL, "Initialize Hostcall signal=0x%zx", signal_); return true; }