pjrt

DeviceDescription

DeviceDescription

#include <api_impl.h>
class DeviceDescription

Defined in integrations/pjrt/src/iree_pjrt/common/api_impl.h:148

Public Methods

ReturnNameDescription
DeviceDescription inline
~DeviceDescription
operator PJRT_DeviceDescription * inline
int64_tdevice_id inline
intclient_id inline
intprocess_index inline
std::string_viewkind_string inline
std::string_viewdebug_string inline
std::string_viewuser_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

ReturnNameDescription
voidBindApi 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

ReturnNameDescription
intclient_id_
iree_hal_device_info_t *info_
std::stringkind_string_
std::stringdebug_string_
std::stringuser_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