Searched refs:id_ (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmstream.hpp | 44 id_type id_ = new_id_(); member in Petsc::device::cupm::CUPMStream 62 id_ = 0; in destroy() 76 … PETSC_ERR_GPU, "Current flags %u != requested flags %u for stream %d", current_flags, flags, id_); in create() 81 id_ = new_id_(); in create() 123 return id_; in get_id_()
|
| H A D | cupmdevice.cxx | 23 const int id_; member in Petsc::device::cupm::Device::DeviceInternal 32 explicit constexpr DeviceInternal(int dev) noexcept : id_(dev) { } in DeviceInternal() 42 PETSC_NODISCARD auto id() const -> decltype(id_) { return id_; } in id() 100 if (cupmSetDevice(id_) != cupmErrorDeviceAlreadyInUse) PetscCallCUPM(cupmGetLastError()); in configure() 102 PetscCallCUPM(cupmGetDeviceProperties(&dprop_, id_)); in configure() 104 PetscCall(PetscInfo(nullptr, "Configured device %d\n", id_)); in configure() 124 PetscCallCUPM(cupmDeviceGetAttribute(&clock, cupmDevAttrClockRate, id_)); in view() 125 PetscCallCUPM(cupmDeviceGetAttribute(&memclock, cupmDevAttrMemoryClockRate, id_)); in view()
|
| /petsc/src/sys/objects/device/impls/sycl/ |
| H A D | sycldevice.sycl.cxx | 28 const int id_; // -1 for the host device; 0 and up for gpu devices member in Petsc::device::sycl::Device::DeviceInternal 34 …DeviceInternal(int id) noexcept : id_(id), devInitialized_(false), syclDevice_(chooseSYCLDevice_(i… in DeviceInternal() 35 int id() const { return id_; } in id()
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | memory.cxx | 66 …erAttributes(PetscMemType mtype_, PetscObjectId id_, std::size_t size_) noexcept : mtype(mtype_), … in PointerAttributes() argument
|