Skip to content

Commit

Permalink
Remove inline from helper
Browse files Browse the repository at this point in the history
  • Loading branch information
hdelan committed Dec 12, 2023
1 parent 69a56ea commit 526f7e6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/adapters/hip/memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urMemRetain(ur_mem_handle_t hMem) {
return UR_RESULT_SUCCESS;
}

inline ur_result_t
allocateMemObjOnDeviceIfNeeded(ur_mem_handle_t Mem,
const ur_device_handle_t hDevice) {
ur_result_t allocateMemObjOnDeviceIfNeeded(ur_mem_handle_t Mem,
const ur_device_handle_t hDevice) {
ScopedContext Active(hDevice);
ur_lock LockGuard(Mem->MemoryAllocationMutex);

Expand Down

0 comments on commit 526f7e6

Please sign in to comment.