Astaroth
3.1
Scalable Multi-GPU Stencil Computations
Loading...
Searching...
No Matches
astaroth_random.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <stdint.h>
4
5
#include <random>
6
7
#include "
acreal.h
"
8
#include "
func_define.h
"
9
10
AC_BEGIN_C_DECLARATIONS
11
12
void
seed_rng
(uint32_t seed);
13
14
AcReal
random_uniform_real_01
(
void
);
15
16
AC_END_C_DECLARATIONS
17
18
std::mt19937&
get_rng
();
acreal.h
AcReal
float AcReal
Definition
acreal.h:11
seed_rng
void seed_rng(uint32_t seed)
get_rng
std::mt19937 & get_rng()
random_uniform_real_01
AcReal random_uniform_real_01(void)
func_define.h
AC_BEGIN_C_DECLARATIONS
#define AC_BEGIN_C_DECLARATIONS
Definition
func_define.h:14
AC_END_C_DECLARATIONS
#define AC_END_C_DECLARATIONS
Definition
func_define.h:15
include
astaroth_random.h
Generated by
1.15.0