We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d07903e commit 0de2831Copy full SHA for 0de2831
sycl/plugins/unified_runtime/ur/adapters/hip/usm.cpp
@@ -76,7 +76,7 @@ UR_APIEXPORT ur_result_t UR_APICALL USMFreeImpl(ur_context_handle_t hContext,
76
UR_ASSERT(Type == hipMemoryTypeDevice || Type == hipMemoryTypeHost,
77
UR_RESULT_ERROR_INVALID_MEM_OBJECT);
78
if (Type == hipMemoryTypeDevice) {
79
- Result = UR_CHECK_ERROR(hipFree(pMem));
+ Result = UR_CHECK_ERROR(hipFree(pMem));
80
}
81
if (Type == hipMemoryTypeHost) {
82
Result = UR_CHECK_ERROR(hipHostFree(pMem));
0 commit comments