Register HostCount and ChipsPerHost API to executor_fn.
PiperOrigin-RevId: 336166509 Change-Id: Ib70ad53a95ba52ef0c9ed75d9c279405b9253d0f
This commit is contained in:
parent
913e0999ec
commit
3eed7f3438
@ -112,6 +112,8 @@ tensorflow::Status SetExecutorStructFn(void* library_handle) {
|
||||
|
||||
TFTPU_SET_FN(executor_fn, TpuTopology_LogicalDevicesPerHost);
|
||||
TFTPU_SET_FN(executor_fn, TpuTopology_LogicalDevicesPerChip);
|
||||
TFTPU_SET_FN(executor_fn, TpuTopology_HostCount);
|
||||
TFTPU_SET_FN(executor_fn, TpuTopology_ChipsPerHost);
|
||||
TFTPU_SET_FN(executor_fn, TpuTopology_ChipBounds_X);
|
||||
TFTPU_SET_FN(executor_fn, TpuTopology_ChipBounds_Y);
|
||||
TFTPU_SET_FN(executor_fn, TpuTopology_ChipBounds_Z);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user