Skip to content

Commit

Permalink
Merge pull request #1178 from hdelan/remove-inline-from-helper
Browse files Browse the repository at this point in the history
[HIP] Remove inline from helper
  • Loading branch information
aarongreig authored Jan 12, 2024
2 parents d06ba9d + 526f7e6 commit 25e0b60
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 25e0b60

Please sign in to comment.