Project
Loading...
Searching...
No Matches
o2::benchmark::benchmarkOpts Struct Reference

#include <Utils.h>

Public Member Functions

 benchmarkOpts ()=default
 

Public Attributes

int32_t deviceId = 0
 
std::vector< Testtests = {Test::Read, Test::Write, Test::Copy}
 
std::vector< Modemodes = {Mode::Sequential, Mode::Concurrent}
 
std::vector< KernelConfigpools = {KernelConfig::Single, KernelConfig::Multi}
 
std::vector< std::string > dtypes = {"int8_t", "int32_t", "uint64_t"}
 
std::vector< std::pair< float, float > > testChunks
 
float chunkReservedGB = 1.f
 
float threadPoolFraction = 1.f
 
float freeMemoryFractionToAllocate = 0.95f
 
int32_t numThreads = -1
 
int32_t numBlocks = -1
 
int32_t kernelLaunches = 1
 
int32_t nTests = 1
 
bool raw = false
 
int32_t streams = 8
 
int32_t prime = 0
 
std::string outFileName = "benchmark_result"
 
bool dumpChunks = false
 

Detailed Description

Definition at line 212 of file Utils.h.

Constructor & Destructor Documentation

◆ benchmarkOpts()

o2::benchmark::benchmarkOpts::benchmarkOpts ( )
default

Member Data Documentation

◆ chunkReservedGB

float o2::benchmark::benchmarkOpts::chunkReservedGB = 1.f

Definition at line 221 of file Utils.h.

◆ deviceId

int32_t o2::benchmark::benchmarkOpts::deviceId = 0

Definition at line 215 of file Utils.h.

◆ dtypes

std::vector<std::string> o2::benchmark::benchmarkOpts::dtypes = {"int8_t", "int32_t", "uint64_t"}

Definition at line 219 of file Utils.h.

◆ dumpChunks

bool o2::benchmark::benchmarkOpts::dumpChunks = false

Definition at line 232 of file Utils.h.

◆ freeMemoryFractionToAllocate

float o2::benchmark::benchmarkOpts::freeMemoryFractionToAllocate = 0.95f

Definition at line 223 of file Utils.h.

◆ kernelLaunches

int32_t o2::benchmark::benchmarkOpts::kernelLaunches = 1

Definition at line 226 of file Utils.h.

◆ modes

std::vector<Mode> o2::benchmark::benchmarkOpts::modes = {Mode::Sequential, Mode::Concurrent}

Definition at line 217 of file Utils.h.

◆ nTests

int32_t o2::benchmark::benchmarkOpts::nTests = 1

Definition at line 227 of file Utils.h.

◆ numBlocks

int32_t o2::benchmark::benchmarkOpts::numBlocks = -1

Definition at line 225 of file Utils.h.

◆ numThreads

int32_t o2::benchmark::benchmarkOpts::numThreads = -1

Definition at line 224 of file Utils.h.

◆ outFileName

std::string o2::benchmark::benchmarkOpts::outFileName = "benchmark_result"

Definition at line 231 of file Utils.h.

◆ pools

std::vector<KernelConfig> o2::benchmark::benchmarkOpts::pools = {KernelConfig::Single, KernelConfig::Multi}

Definition at line 218 of file Utils.h.

◆ prime

int32_t o2::benchmark::benchmarkOpts::prime = 0

Definition at line 230 of file Utils.h.

◆ raw

bool o2::benchmark::benchmarkOpts::raw = false

Definition at line 228 of file Utils.h.

◆ streams

int32_t o2::benchmark::benchmarkOpts::streams = 8

Definition at line 229 of file Utils.h.

◆ testChunks

std::vector<std::pair<float, float> > o2::benchmark::benchmarkOpts::testChunks

Definition at line 220 of file Utils.h.

◆ tests

std::vector<Test> o2::benchmark::benchmarkOpts::tests = {Test::Read, Test::Write, Test::Copy}

Definition at line 216 of file Utils.h.

◆ threadPoolFraction

float o2::benchmark::benchmarkOpts::threadPoolFraction = 1.f

Definition at line 222 of file Utils.h.


The documentation for this struct was generated from the following file: