Skip to content

Commit

Permalink
Fix default device selection
Browse files Browse the repository at this point in the history
  • Loading branch information
matyas-streamhpc committed Dec 9, 2024
1 parent f59066d commit e15dde1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/how-to/hip_runtime_api/multi_device.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ can leverage the full computational power available. Typically, applications
list devices and their properties for deployment planning, and also make
dynamic selections during runtime to ensure optimal performance.

If the application does not assign a specific GPU, the runtime typically
assigns one automatically based on factors such as availability, performance,
memory, and efficiency. As a result, the runtime might choose the least
utilized GPU, the one best suited for the task, the GPU with adequate memory,
or the most energy-efficient option.
If the application does not define a specific GPU, device 0 is selected.

.. code-block:: cpp
Expand Down

0 comments on commit e15dde1

Please sign in to comment.