library("SpaNorm")
gpuDtypeBytes()[1] 8
The element width (in bytes) of getBackendDtype()’s dtype – 4 for float32 (MPS), 8 for float64 (cuda/cpu). Used for sizing memory budgets against genes x cells tensors; exposed so downstream packages (e.g. spiDE) doing their own GPU memory-budget accounting don’t need to duplicate this device/dtype mapping.
gpuDtypeBytes()
a numeric, 4 or 8.