Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
hdelan committed Sep 14, 2023
1 parent d07903e commit 0de2831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/plugins/unified_runtime/ur/adapters/hip/usm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ UR_APIEXPORT ur_result_t UR_APICALL USMFreeImpl(ur_context_handle_t hContext,
UR_ASSERT(Type == hipMemoryTypeDevice || Type == hipMemoryTypeHost,
UR_RESULT_ERROR_INVALID_MEM_OBJECT);
if (Type == hipMemoryTypeDevice) {
Result = UR_CHECK_ERROR(hipFree(pMem));
Result = UR_CHECK_ERROR(hipFree(pMem));
}
if (Type == hipMemoryTypeHost) {
Result = UR_CHECK_ERROR(hipHostFree(pMem));
Expand Down

0 comments on commit 0de2831

Please sign in to comment.