Closed jdm365 closed 11 months ago
Previous code seems to map dtype to np.uint16 if nnodes is less than UINT32_MAX but greater than UINT16_MAX.
dtype
np.uint16
nnodes
UINT32_MAX
UINT16_MAX
New version sets dtype to np.uint16 and switches to np.uint32 or np.uint64 if nnodes passes the MAX thresholds.
np.uint32
np.uint64
Previous code seems to map
dtype
tonp.uint16
ifnnodes
is less thanUINT32_MAX
but greater thanUINT16_MAX
.New version sets
dtype
tonp.uint16
and switches tonp.uint32
ornp.uint64
ifnnodes
passes the MAX thresholds.