5#ifndef GKO_PUBLIC_CORE_BASE_DEVICE_HPP_
6#define GKO_PUBLIC_CORE_BASE_DEVICE_HPP_
15#include <ginkgo/config.hpp>
42 static std::mutex& get_mutex(
int i);
51 static int& get_num_execs(
int i);
53 static constexpr int max_devices = 64;
72 static std::mutex& get_mutex(
int i);
81 static int& get_num_execs(
int i);
83 static constexpr int max_devices = 64;
This is the Executor subclass which represents the CUDA device.
Definition executor.hpp:1485
This is the Executor subclass which represents the HIP enhanced device.
Definition executor.hpp:1703
amd_device handles the number of executor on Amd devices and have the corresponding recursive_mutex.
Definition device.hpp:61
nvidia_device handles the number of executor on Nvidia devices and have the corresponding recursive_m...
Definition device.hpp:30
The Ginkgo namespace.
Definition abstract_factory.hpp:20