Skip to content

Commit

Permalink
Remove assertions in HIP adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
lbushi25 committed May 27, 2024
1 parent b8c73e2 commit 2935652
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/adapters/hip/usm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ ur_result_t USMDeviceAllocImpl(void **ResultPtr, ur_context_handle_t hContext,
urUSMFree(hContext, *ResultPtr);
return UR_RESULT_ERROR_UNSUPPORTED_ALIGNMENT;
}

return UR_RESULT_SUCCESS;
}

Expand All @@ -138,7 +137,7 @@ ur_result_t USMSharedAllocImpl(void **ResultPtr, ur_context_handle_t,
urUSMFree(hContext, *ResultPtr);
return UR_RESULT_ERROR_UNSUPPORTED_ALIGNMENT;
}
| return UR_RESULT_SUCCESS;
return UR_RESULT_SUCCESS;
}

ur_result_t USMHostAllocImpl(void **ResultPtr,
Expand Down

0 comments on commit 2935652

Please sign in to comment.