Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pkg/abi/tpu/tpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ const (
// TPUV6ePFDeviceID is PCI device ID of TPU V6e hardware PF.
TPUV6ePFDeviceID = 0x006e

// TPUV6pDeviceID is the PCI device ID of TPU V6p hardware.
TPUV6pDeviceID = 0x0075
// TPU7xDeviceID is the PCI device ID of TPU 7x hardware.
TPU7xDeviceID = 0x0075

// TPUV6pPFDeviceID is the PCI device ID of TPU V6p hardware PF.
TPUV6pPFDeviceID = 0x0076
// TPU7xPFDeviceID is the PCI device ID of TPU 7x hardware PF.
TPU7xPFDeviceID = 0x0076
)

// TPUV4InterruptsMap maps BAR indices to valid register offsets.
Expand Down
2 changes: 1 addition & 1 deletion runsc/cmd/util/tpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var (
tpuV4DeviceIDs = map[uint64]struct{}{tpu.TPUV4DeviceID: {}, tpu.TPUV4liteDeviceID: {}}
tpuVFIODeviceIDs = map[uint64]struct{}{
tpu.TPUV4DeviceID: {}, tpu.TPUV4liteDeviceID: {}, tpu.TPUV5eDeviceID: {}, tpu.TPUV5pDeviceID: {},
tpu.TPUV6eDeviceID: {}, tpu.TPUV6pDeviceID: {}, tpu.TPUV6ePFDeviceID: {}, tpu.TPUV6pPFDeviceID: {},
tpu.TPUV6eDeviceID: {}, tpu.TPU7xDeviceID: {}, tpu.TPUV6ePFDeviceID: {}, tpu.TPU7xPFDeviceID: {},
}
pciDeviceRegex = regexp.MustCompile(`0000:([[:xdigit:]]{2}|[[:xdigit:]]{4}):[[:xdigit:]]{2}\.[[:xdigit:]]{1,2}`)
)
Expand Down
Loading