SWDEV-301667 - Better log

Change-Id: I3b5b3593cb0144e56a4ddea2fa29028544a73203
This commit is contained in:
Saleel Kudchadker
2023-06-15 21:13:18 -07:00
والد 0330801846
کامیت b2240bcda5
2فایلهای تغییر یافته به همراه5 افزوده شده و 3 حذف شده
+1 -1
مشاهده پرونده
@@ -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);
}
@@ -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;
}