Searched refs:DeviceInternal (Results 1 – 4 of 4) sorted by relevance
29 class DeviceInternal;32 static std::array<DeviceInternal *, PETSC_DEVICE_MAX_DEVICES> devices_array_;33 …static DeviceInternal **devices_; // alias to devices_array_…
18 std::array<Device::DeviceInternal *, PETSC_DEVICE_MAX_DEVICES> Device::devices_array_ = {};19 Device::DeviceInternal **Device::devices_ = &Device::de…27 class PETSC_NODISCARD Device::DeviceInternal { class in Petsc::device::sycl::Device34 …DeviceInternal(int id) noexcept : id_(id), devInitialized_(false), syclDevice_(chooseSYCLDevice_(i… in DeviceInternal() function in Petsc::device::sycl::Device::DeviceInternal196 if (!devices_[id]) devices_[id] = new DeviceInternal(id); in init_device_id_()
22 class Device<T>::DeviceInternal { class in Petsc::device::cupm::Device32 explicit constexpr DeviceInternal(int dev) noexcept : id_(dev) { } in DeviceInternal() function in Petsc::device::cupm::Device::DeviceInternal51 PetscErrorCode Device<T>::DeviceInternal::initialize() noexcept in initialize()93 PetscErrorCode Device<T>::DeviceInternal::configure() noexcept in configure()109 PetscErrorCode Device<T>::DeviceInternal::view(PetscViewer viewer) const noexcept in view()154 PetscErrorCode Device<T>::DeviceInternal::getattribute(PetscDeviceAttribute attr, void *value) cons… in getattribute()168 PetscErrorCode Device<T>::DeviceInternal::shutdown() noexcept in shutdown()189 PetscErrorCode Device<T>::DeviceInternal::CUPMAwareMPI_(bool *awareness) noexcept in CUPMAwareMPI_()321 if (!devices_[id]) devices_[id] = util::make_unique<DeviceInternal>(id); in init_device_id_()
34 class DeviceInternal;37 using devices_type = std::array<std::unique_ptr<DeviceInternal>, PETSC_DEVICE_MAX_DEVICES>;