Home
last modified time | relevance | path

Searched refs:DeviceInternal (Results 1 – 4 of 4) sorted by relevance

/petsc/src/sys/objects/device/impls/sycl/
H A Dsycldevice.hpp29 class DeviceInternal;
32 static std::array<DeviceInternal *, PETSC_DEVICE_MAX_DEVICES> devices_array_;
33 …static DeviceInternal **devices_; // alias to devices_array_…
H A Dsycldevice.sycl.cxx18 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::Device
34DeviceInternal(int id) noexcept : id_(id), devInitialized_(false), syclDevice_(chooseSYCLDevice_(i… in DeviceInternal() function in Petsc::device::sycl::Device::DeviceInternal
196 if (!devices_[id]) devices_[id] = new DeviceInternal(id); in init_device_id_()
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmdevice.cxx22 class Device<T>::DeviceInternal { class in Petsc::device::cupm::Device
32 explicit constexpr DeviceInternal(int dev) noexcept : id_(dev) { } in DeviceInternal() function in Petsc::device::cupm::Device::DeviceInternal
51 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_()
H A Dcupmdevice.hpp34 class DeviceInternal;
37 using devices_type = std::array<std::unique_ptr<DeviceInternal>, PETSC_DEVICE_MAX_DEVICES>;