NumPy-CuPy Generic Code Support