cpu

cpu::CPUClientInstance

CPUClientInstance

#include <client.h>
class CPUClientInstance

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:16

Inherits: ClientInstance

List of all members

NameKindOwner
CPUClientInstancefunctionDeclared here
~CPUClientInstancefunctionDeclared here
CreateDriverfunctionDeclared here
SetDefaultCompilerFlagsfunctionDeclared here
single_threaded_debug_variableDeclared here
task_topology_options_variableDeclared here
plugin_manager_variableDeclared here
loaders_variableDeclared here
loader_count_variableDeclared here
executor_variableDeclared here
device_allocator_variableDeclared here
InitializeDepsfunctionDeclared here
ClientInstancefunctionInherited from ClientInstance
~ClientInstancefunctionInherited from ClientInstance
InitializefunctionInherited from ClientInstance
platformfunctionInherited from ClientInstance
loggerfunctionInherited from ClientInstance
host_allocatorfunctionInherited from ClientInstance
devicesfunctionInherited from ClientInstance
addressable_devicesfunctionInherited from ClientInstance
memoriesfunctionInherited from ClientInstance
cached_platform_namefunctionInherited from ClientInstance
cached_platform_versionfunctionInherited from ClientInstance
vm_instancefunctionInherited from ClientInstance
CompilefunctionInherited from ClientInstance
CreateDriverfunctionInherited from ClientInstance
PopulateVMModulesfunctionInherited from ClientInstance
SetDefaultCompilerFlagsfunctionInherited from ClientInstance
AdvanceTimelinefunctionInherited from ClientInstance
BindApifunctionInherited from ClientInstance
UnwrapfunctionInherited from ClientInstance
host_allocator_variableInherited from ClientInstance
driver_registry_variableInherited from ClientInstance
cached_platform_name_variableInherited from ClientInstance
cached_platform_version_variableInherited from ClientInstance
platform_variableInherited from ClientInstance
driver_variableInherited from ClientInstance
device_infos_variableInherited from ClientInstance
device_info_count_variableInherited from ClientInstance
devices_variableInherited from ClientInstance
addressable_devices_variableInherited from ClientInstance
memories_variableInherited from ClientInstance
vm_instance_variableInherited from ClientInstance
execution_timeline_variableInherited from ClientInstance
InitializeCompilerfunctionInherited from ClientInstance
InitializeVMfunctionInherited from ClientInstance
PopulateDevicesfunctionInherited from ClientInstance

Inherited from ClientInstance

KindNameDescription
functionClientInstance
function~ClientInstance virtual
functionInitialize
functionplatform inline
functionlogger inline
functionhost_allocator inline
functiondevices inline
functionaddressable_devices inline
functionmemories inline
functioncached_platform_name inline
functioncached_platform_version inline
functionvm_instance inline
functionCompile
functionCreateDriver virtual
functionPopulateVMModules virtual
functionSetDefaultCompilerFlags virtual
functionAdvanceTimeline
functionBindApi static
functionUnwrap static inline
variablehost_allocator_
variabledriver_registry_
variablecached_platform_name_
variablecached_platform_version_
variableplatform_
variabledriver_
variabledevice_infos_
variabledevice_info_count_
variabledevices_
variableaddressable_devices_
variablememories_
variablevm_instance_
variableexecution_timeline_
functionInitializeCompiler
functionInitializeVM
functionPopulateDevices

Public Methods

ReturnNameDescription
CPUClientInstance
~CPUClientInstance
iree_status_tCreateDriver virtual override
boolSetDefaultCompilerFlags virtual override

CPUClientInstance

CPUClientInstance(std::unique_ptr< Platform > platform)

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:18


~CPUClientInstance

~CPUClientInstance()

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:19


CreateDriver

virtual override

virtual iree_status_t CreateDriver(iree_hal_driver_t ** out_driver) override

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:20

Reimplements


SetDefaultCompilerFlags

virtual override

virtual bool SetDefaultCompilerFlags(CompilerJob * compiler_job) override

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:21

Reimplements

Private Attributes

ReturnNameDescription
boolsingle_threaded_debug_
iree_task_topology_ttask_topology_options_
iree_hal_executable_plugin_manager_t *plugin_manager_
iree_hal_executable_loader_t *loaders_
iree_host_size_tloader_count_
iree_task_executor_t *executor_
iree_hal_allocator_t *device_allocator_

single_threaded_debug_

bool single_threaded_debug_ = false

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:27


task_topology_options_

iree_task_topology_t task_topology_options_

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:28


plugin_manager_

iree_hal_executable_plugin_manager_t * plugin_manager_ = nullptr

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:31


loaders_

iree_hal_executable_loader_t * loaders_[8]

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:32


loader_count_

iree_host_size_t loader_count_ = 0

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:33


executor_

iree_task_executor_t * executor_ = nullptr

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:34


device_allocator_

iree_hal_allocator_t * device_allocator_ = nullptr

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:35

Private Methods

ReturnNameDescription
iree_status_tInitializeDeps

InitializeDeps

iree_status_t InitializeDeps()

Defined in integrations/pjrt/src/iree_pjrt/cpu/client.h:24