Skip to content

RandomTraits::StreamParameters

#include <sbio/formats/random/random_traits.hh>
struct StreamParameters

Defined in src/lib/sbio/formats/random/random_traits.hh:97

Name Kind Owner
num_events variable Declared here
event_size variable Declared here
max_batch variable Declared here
seed variable Declared here
pattern_type variable Declared here
enable_subblock_offsets variable Declared here
indexing_mode variable Declared here
indexing_batch_size variable Declared here
fd variable Declared here
Return Name Description
hd_std::size_t num_events
hd_std::size_t event_size
hd_std::size_t max_batch
hd_std::uint32_t seed
hd_std::uint8_t pattern_type 0 = PNRG, 1 = Sequential, 2 = Fixed fill
bool enable_subblock_offsets
IndexingMode indexing_mode
hd_std::size_t indexing_batch_size If using IndexBatch, how many steps to index at a time.
int fd

hd_std::size_t num_events { 100000 }

Defined in src/lib/sbio/formats/random/random_traits.hh:98


hd_std::size_t event_size { 0x100000 }

Defined in src/lib/sbio/formats/random/random_traits.hh:99


hd_std::size_t max_batch { 1 }

Defined in src/lib/sbio/formats/random/random_traits.hh:100


hd_std::uint32_t seed { 42 }

Defined in src/lib/sbio/formats/random/random_traits.hh:101


hd_std::uint8_t pattern_type { 0 }

Defined in src/lib/sbio/formats/random/random_traits.hh:102

0 = PNRG, 1 = Sequential, 2 = Fixed fill


bool enable_subblock_offsets { true }

Defined in src/lib/sbio/formats/random/random_traits.hh:103


IndexingMode indexing_mode { }

Defined in src/lib/sbio/formats/random/random_traits.hh:104


hd_std::size_t indexing_batch_size { 100 }

Defined in src/lib/sbio/formats/random/random_traits.hh:105

If using IndexBatch, how many steps to index at a time.


int fd

Defined in src/lib/sbio/formats/random/random_traits.hh:110