ALP User Documentation  0.8.preview
Algebraic Programming User Documentation
Classes | Functions
Common configuration settings

Configuration elements contained in this group affect all backends. More...

Classes

class  BENCHMARKING
 Benchmarking default configuration parameters. More...
 
class  CACHE_LINE_SIZE
 Contains information about the target architecture cache line size. More...
 
class  IMPLEMENTATION< backend >
 Collects a series of implementation choices corresponding to some given backend. More...
 
class  MEMORY
 Memory configuration parameters. More...
 
class  SIMD_SIZE
 The SIMD size, in bytes. More...
 

Functions

static constexpr size_t big_memory ()
 
static constexpr ALLOC_MODE defaultAllocMode ()
 Defines how private memory regions are allocated. More...
 
static constexpr size_t inner ()
 
static constexpr size_t l1_cache_size ()
 
static constexpr size_t outer ()
 
static constexpr ALLOC_MODE sharedAllocMode ()
 Defines how shared memory regions are allocated. More...
 

Detailed Description

Configuration elements contained in this group affect all backends.

Function Documentation

◆ big_memory()

static constexpr size_t big_memory ( )
inlinestatic
Returns
What is considered a lot of memory, in 2-log of bytes.

◆ defaultAllocMode()

static constexpr ALLOC_MODE defaultAllocMode ( )
static

Defines how private memory regions are allocated.

Returns
how a memory region that will not be accessed by threads other than the allocating thread, should be allocated.

◆ inner()

static constexpr size_t inner ( )
inlinestatic
Returns
The default number of inner repetitions.

◆ l1_cache_size()

static constexpr size_t l1_cache_size ( )
inlinestatic
Returns
the private L1 data cache size, in bytes.

◆ outer()

static constexpr size_t outer ( )
inlinestatic
Returns
The default number of outer repetitions.

◆ sharedAllocMode()

static constexpr ALLOC_MODE sharedAllocMode ( )
static

Defines how shared memory regions are allocated.

Returns
how a memory region that may be accessed by thread other than the allocating thread, should be allocated.