Skip to content

Commit

Permalink
Indentation fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalroz committed Jul 8, 2023
1 parent 997b3b7 commit 1833895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cuda/api/multi_wrapper_impls/memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ inline void set_access_mode(
descriptors[i] = {{CU_MEM_LOCATION_TYPE_DEVICE, devices[i].id()}, CUmemAccess_flags(access_mode)};
}
auto result = cuMemSetAccess(
device::address(fully_mapped_region.start()), fully_mapped_region.size(), descriptors.get(), devices.size());
device::address(fully_mapped_region.start()), fully_mapped_region.size(), descriptors.get(), devices.size());
throw_if_error_lazy(result, "Failed setting the access mode to the virtual memory mapping to the range of size "
+ ::std::to_string(fully_mapped_region.size()) + " bytes at " + cuda::detail_::ptr_as_hex(fully_mapped_region.data()));
}
Expand Down

0 comments on commit 1833895

Please sign in to comment.