33#ifndef GKO_PUBLIC_CORE_BASE_DEVICE_HPP_
34#define GKO_PUBLIC_CORE_BASE_DEVICE_HPP_
43#include <ginkgo/config.hpp>
70 static std::mutex& get_mutex(
int i);
79 static int& get_num_execs(
int i);
81 static constexpr int max_devices = 64;
100 static std::mutex& get_mutex(
int i);
109 static int& get_num_execs(
int i);
111 static constexpr int max_devices = 64;
This is the Executor subclass which represents the CUDA device.
Definition executor.hpp:1513
This is the Executor subclass which represents the HIP enhanced device.
Definition executor.hpp:1727
amd_device handles the number of executor on Amd devices and have the corresponding recursive_mutex.
Definition device.hpp:89
nvidia_device handles the number of executor on Nvidia devices and have the corresponding recursive_m...
Definition device.hpp:58
The Ginkgo namespace.
Definition abstract_factory.hpp:48
constexpr T one()
Returns the multiplicative identity for T.
Definition math.hpp:803