cubed icon indicating copy to clipboard operation
cubed copied to clipboard

CuPy-specific implementation of `random`

Open tomwhite opened this issue 3 months ago • 1 comments

Currently Cubed's implementation of random just uses NumPy (since random number generation is not part of the Array API) and converts to the backend array type (e.g. CuPy). It would be better to use something like cupy.random.Generator and cupy.random.Philox4x3210 as a special case when the backend is CuPy.

tomwhite avatar Oct 06 '25 13:10 tomwhite

See also #509

tomwhite avatar Oct 06 '25 13:10 tomwhite