Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
random.hpp File Reference
Include dependency graph for random.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shamalgs
 namespace to contain everything implemented by shamalgs
namespace  shamalgs::random
 namespace to contain utility related to random number generation in shamalgs

Functions

template<class T, class Engine = std::mt19937>
shamalgs::random::mock_gaussian (Engine &eng)
template<class T, class Engine = std::mt19937>
shamalgs::random::mock_gaussian_multidim (Engine &eng)
template<class T, class Engine = std::mt19937>
shamalgs::random::mock_unit_vector (Engine &eng)
template<class T>
sycl::buffer< T > shamalgs::random::mock_buffer (u64 seed, u32 len, T min_bound, T max_bound)
template<class T>
sham::DeviceBuffer< T > shamalgs::random::mock_buffer_usm (const sham::DeviceScheduler_ptr &sched, u64 seed, u32 len, T min_bound, T max_bound)
template<class T>
sham::DeviceBuffer< T > shamalgs::random::mock_buffer_usm (const sham::DeviceScheduler_ptr &sched, u64 seed, u32 len)
template<class T>
sycl::buffer< T > shamalgs::random::mock_buffer (u64 seed, u32 len)
template<class T>
std::unique_ptr< sycl::buffer< T > > shamalgs::random::mock_buffer_ptr (u64 seed, u32 len, T min_bound, T max_bound)
template<class T>
std::unique_ptr< sycl::buffer< T > > shamalgs::random::mock_buffer_ptr (u64 seed, u32 len)

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file random.hpp.