Skip to content

Commit

Permalink
Remove extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomestre committed Nov 9, 2023
1 parent e1902fc commit 5b2c2dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/adapters/cuda/enqueue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ void getUSMHostOrDevicePtr(PtrT USMPtr, CUmemorytype *OutMemType,
ur_result_t setCuMemAdvise(CUdeviceptr DevPtr, size_t Size,
ur_usm_advice_flags_t URAdviceFlags,
CUdevice Device) {

std::unordered_map<ur_usm_advice_flags_t, CUmem_advise>
URToCUMemAdviseDeviceFlagsMap = {
{UR_USM_ADVICE_FLAG_SET_READ_MOSTLY, CU_MEM_ADVISE_SET_READ_MOSTLY},
Expand Down Expand Up @@ -1403,7 +1402,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueUSMPrefetch(
}
UR_CHECK_ERROR(
cuMemPrefetchAsync((CUdeviceptr)pMem, size, Device->get(), CuStream));

if (phEvent) {
UR_CHECK_ERROR(EventPtr->record());
*phEvent = EventPtr.release();
Expand Down

0 comments on commit 5b2c2dd

Please sign in to comment.