Toggle table of contents sidebar
Kokkos::device_id
ΒΆ
Defined in header <Kokkos_Core.hpp>
[[nodiscard]] int device_id() noexcept; // (since 4.1)
Returns the id of the device that is used by DefaultExecutionSpace
or -1
if only host backends are enabled.
See also
num_devices
: returns the number of devices available to Kokkos
num_threads
: returns the number of threads used by Kokkos
initialize
: initializes the Kokkos execution environment
InitializationSettings
: settings for initializing Kokkos
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4