Fix trace category for hipHostMalloc

Цей коміт міститься в:
Ben Sander
2017-05-23 22:59:22 -05:00
джерело 21d74f09b9
коміт ca07615c37
+1 -1
Переглянути файл
@@ -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;