Skip to content

Commit 25e0b60

Browse files
authored
Merge pull request #1178 from hdelan/remove-inline-from-helper
[HIP] Remove inline from helper
2 parents d06ba9d + 526f7e6 commit 25e0b60

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/adapters/hip/memory.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urMemRetain(ur_mem_handle_t hMem) {
458458
return UR_RESULT_SUCCESS;
459459
}
460460

461-
inline ur_result_t
462-
allocateMemObjOnDeviceIfNeeded(ur_mem_handle_t Mem,
463-
const ur_device_handle_t hDevice) {
461+
ur_result_t allocateMemObjOnDeviceIfNeeded(ur_mem_handle_t Mem,
462+
const ur_device_handle_t hDevice) {
464463
ScopedContext Active(hDevice);
465464
ur_lock LockGuard(Mem->MemoryAllocationMutex);
466465

0 commit comments

Comments
 (0)