Fix trace category for hipHostMalloc

[ROCm/hip commit: 7cfe07cff4]
This commit is contained in:
Ben Sander
2017-05-23 22:59:22 -05:00
szülő 0a43773e0d
commit 1e0046f737
+1 -1
Fájl megtekintése
@@ -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;