Work for multiple GPUs now
1. Replace `\\"` with `\"`, otherwise awk warns `\"' is not a
known regexp operator
2. Use the slot number of `lspci -mm` return value to
determine whether two video cards are in different PCI slots,
and therefore are two different GPUS.
Showing
Please
register
or
sign in
to comment