Lines Matching defs:MAIAGuardImpl
64 struct MAIAGuardImpl final : public c10::impl::DeviceGuardImplInterface { struct
66 MAIAGuardImpl() {} in MAIAGuardImpl() argument
67 MAIAGuardImpl(DeviceType t) { in MAIAGuardImpl() function
70 DeviceType type() const override { in type()
73 Device exchangeDevice(Device d) const override { in exchangeDevice()
78 Device getDevice() const override { in getDevice()
81 void setDevice(Device d) const override { in setDevice()
85 void uncheckedSetDevice(Device d) const noexcept override { in uncheckedSetDevice()
87 Stream getStream(Device d) const noexcept override { in getStream()
90 Stream exchangeStream(Stream s) const noexcept override { in exchangeStream()
93 DeviceIndex deviceCount() const noexcept override { in deviceCount()
117 constexpr DeviceType MAIAGuardImpl::static_type; argument