Skip to content

Commit

Permalink
Merge pull request #1527 from amzn/width-to-str
Browse files Browse the repository at this point in the history
pyverbs: Add 12X to width_to_str mapping array
  • Loading branch information
rleon authored Dec 4, 2024
2 parents 5c9a546 + 8802b57 commit cd7d4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyverbs/device.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ def phys_state_to_str(phys):


def width_to_str(width):
l = {1: '1X', 2: '4X', 4: '8X', 16: '2X'}
l = {1: '1X', 2: '4X', 4: '8X', 8: '12X', 16: '2X'}
try:
return '{s} ({n})'.format(s=l[width], n=width)
except KeyError:
Expand Down

0 comments on commit cd7d4d9

Please # to comment.