def _calc_array_sizeof(ndim):
    ctx = cpu_target.target_context
    return ctx.calc_array_sizeof(ndim)
Use the ABI size in the CPU target
dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/ndarray.py/_calc_array_sizeof