![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shambase/constants.hpp"#include "shamalgs/primitives/mock_value.hpp"#include "shambackends/DeviceBuffer.hpp"#include "shambackends/DeviceScheduler.hpp"#include "shambackends/sycl.hpp"#include "shambackends/typeAliasVec.hpp"#include "shambackends/vec.hpp"#include <random>
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> | |
| T | shamalgs::random::mock_gaussian (Engine &eng) |
| template<class T , class Engine = std::mt19937> | |
| T | shamalgs::random::mock_gaussian_multidim (Engine &eng) |
| template<class T , class Engine = std::mt19937> | |
| T | 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) |
Definition in file random.hpp.