Skip to content

Commit 9868e3b

Browse files
committed
Fix format.
Signed-off-by: JackAKirk <jack.kirk@codeplay.com>
1 parent 0647802 commit 9868e3b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

source/adapters/cuda/usm.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,7 @@ urUSMGetMemAllocInfo(ur_context_handle_t hContext, const void *pMem,
261261
// cuda backend has only one platform containing all devices
262262
ur_platform_handle_t platform;
263263
ur_adapter_handle_t AdapterHandle = &adapter;
264-
Result = urPlatformGet(&AdapterHandle, 1, 1,
265-
&platform, nullptr);
264+
Result = urPlatformGet(&AdapterHandle, 1, 1, &platform, nullptr);
266265

267266
// get the device from the platform
268267
ur_device_handle_t Device = platform->Devices[DeviceIndex].get();

source/adapters/hip/usm.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ urUSMGetMemAllocInfo(ur_context_handle_t hContext, const void *pMem,
210210
// hip backend has only one platform containing all devices
211211
ur_platform_handle_t platform;
212212
ur_adapter_handle_t AdapterHandle = &adapter;
213-
Result = urPlatformGet(&AdapterHandle, 1, 1,
214-
&platform, nullptr);
213+
Result = urPlatformGet(&AdapterHandle, 1, 1, &platform, nullptr);
215214

216215
// get the device from the platform
217216
ur_device_handle_t Device = platform->Devices[DeviceIdx].get();

0 commit comments

Comments
 (0)