dpnp.random.RandomState.get_sycl_device

method

RandomState.get_sycl_device()[source]

Return an instance of dpctl.SyclDevice used within the generator to allocate data on.

Returns:

device -- A SYCL device used to allocate data on.

Return type:

dpctl.SyclDevice