Fix trace category for hipHostMalloc

Этот коммит содержится в:
Ben Sander committed 2017-05-23 23:15:45 -05:00
1 родитель 3d973dc4da
Коммит 7cfe07cff4
1 file changed
+1 -1
+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;