XLA
Reactant.XLA.AllocatorStats Type
AllocatorStats()
Contains the following fields:
num_allocsbytes_in_usepeak_bytes_in_uselargest_alloc_sizebytes_limitbytes_reservedpeak_bytes_reservedbytes_reservable_limitlargest_free_block_bytespool_bytespeak_pool_bytes
It should be constructed using the allocatorstats function.
Reactant.XLA.allocatorstats Function
allocatorstats([device])
Return an AllocatorStats instance with information about the device specific allocator.
Warning
This method is currently not implemented for the CPU device.
Reactant.XLA.cost_analysis Function
cost_analysis(::AbstractLoadedExecutable)
cost_analysis(::Reactant.Thunk)Returns a HloCostAnalysisProperties object with the cost analysis of the loaded executable.
sourceReactant.XLA.device_ordinal Function
device_ordinal(device::Device)Given the device, return the corresponding global device ordinal in the client.
sourceReactant.XLA.device_properties Method
device_properties(device::AbstractDevice)Get a struct containing device properties. Which exact fields are populated relies on the underlying device implementation.
source