Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
harrism committed Sep 4, 2024
1 parent 5683243 commit 3d41e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Here's an example of configuring RMM to use a pool allocator in C++ (derived fro
auto initial_size = rmm::percent_of_free_device_memory(50);
rmm::mr::pool_memory_resource<rmm::mr::cuda_memory_resource> pool_mr{&cuda_mr, initial_size};
rmm::mr::set_current_device_resource(&pool_mr); // Updates the current device resource pointer to `pool_mr`
rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource(); // Points to `pool_mr`
auto mr = rmm::mr::get_current_device_resource_ref(); // Reference to `pool_mr`

Python
^^^^^^
Expand Down

0 comments on commit 3d41e16

Please sign in to comment.