DeviceDescription
DeviceDescription
#include <api_impl.h>class DeviceDescriptionDefined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:148
Public Methods
| Return | Name | Description |
|---|---|---|
DeviceDescription inline | ||
~DeviceDescription | ||
operator PJRT_DeviceDescription * inline | ||
int64_t | device_id inline | |
int | client_id inline | |
int | process_index inline | |
std::string_view | kind_string inline | |
std::string_view | debug_string inline | |
std::string_view | user_string inline |
DeviceDescription
inline
inline DeviceDescription(int32_t client_id, iree_hal_device_info_t * info)Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:150
~DeviceDescription
~DeviceDescription()Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:157
operator PJRT_DeviceDescription *
inline
inline operator PJRT_DeviceDescription *()Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:158
device_id
inline
inline int64_t device_id()Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:167
client_id
inline
inline int client_id()Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:174
process_index
inline
inline int process_index()Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:176
kind_string
inline
inline std::string_view kind_string()Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:180
debug_string
inline
inline std::string_view debug_string()Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:181
user_string
inline
inline std::string_view user_string()Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:182
Public Static Methods
| Return | Name | Description |
|---|---|---|
void | BindApi static | |
DeviceDescription * | Unwrap static inline |
BindApi
static
static void BindApi(PJRT_Api * api)Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:161
Unwrap
static inline
static inline DeviceDescription * Unwrap(PJRT_DeviceDescription * device)Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:163
Private Attributes
| Return | Name | Description |
|---|---|---|
int | client_id_ | |
iree_hal_device_info_t * | info_ | |
std::string | kind_string_ | |
std::string | debug_string_ | |
std::string | user_string_ |
client_id_
int client_id_Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:185
info_
iree_hal_device_info_t * info_Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:186
kind_string_
std::string kind_string_Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:189
debug_string_
std::string debug_string_Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:190
user_string_
std::string user_string_Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:191
