Fix trace category for hipHostMalloc

[ROCm/clr commit: ca07615c37]
This commit is contained in:
Ben Sander
2017-05-23 22:59:22 -05:00
parent 9e7a50b1e0
commit 0cde8e5db4
+1 -1
View File
@@ -245,7 +245,7 @@ hipError_t hipMalloc(void** ptr, size_t sizeBytes)
hipError_t hipHostMalloc(void** ptr, size_t sizeBytes, unsigned int flags)
{
HIP_INIT_SPECIAL_API((TRACE_MCMD), ptr, sizeBytes, flags);
HIP_INIT_SPECIAL_API((TRACE_MEM), ptr, sizeBytes, flags);
HIP_SET_DEVICE();
hipError_t hip_status = hipSuccess;