Add CommandKindString to the log

Change-Id: Ie23123a85cff82b1732da85f5bffbff6958c02e5


[ROCm/clr commit: d943cae31f]
This commit is contained in:
Jason Tang
2020-10-23 14:02:44 -04:00
committed by Jason Tang
parent 649f1872d9
commit 50138a93a3
2 changed files with 18 additions and 1 deletions
@@ -162,7 +162,7 @@ void HostQueue::loop(device::VirtualDevice* virtualDevice) {
continue;
}
ClPrint(LOG_DEBUG, LOG_CMD, "command is submitted: %p", command);
ClPrint(LOG_DEBUG, LOG_CMD, "command (%s) is submitted: %p", getOclCommandKindString(command->type()), command);
command->setStatus(CL_SUBMITTED);