DistDir
Data Structures | Typedefs | Enumerations | Functions
setting.h File Reference

Go to the source code of this file.

Data Structures

struct  t_config
 The structure contains information about the library configuration. More...
 

Typedefs

typedef struct t_config t_config
 

Enumerations

enum  distdir_hardware { CPU = 0 , GPU_NVIDIA = 1 , GPU_AMD = 2 }
 Enum for supported hardware. More...
 
enum  distdir_exchanger {
  IsendIrecv1 = 0 , IsendIrecv2 = 1 , IsendRecv1 = 2 , IsendRecv2 = 3 ,
  IsendIrecv1NoWait = 4 , IsendIrecv2NoWait = 5 , IsendRecv1NoWait = 6 , IsendRecv2NoWait = 7
}
 Enum for supported exchanger. More...
 
enum  distdir_verbose { verbose_true = 0 , verbose_false = 1 }
 Enum for verbosity. More...
 
enum  distdir_sort { mergesort = 0 , quicksort = 1 , timsort = 2 }
 Enum for supported sorting algorithms. More...
 

Functions

void distdir_initialize ()
 Initialize the library. More...
 
void distdir_finalize ()
 Finalize the library. More...
 
void set_config_exchanger (int exchanger_type)
 Set library exchanger type. More...
 
void set_config_verbose (int verbose_type)
 Set library verbosity. More...
 
void set_config_sort (int sort_type)
 Set library sort algorithm. More...
 
int get_config_exchanger ()
 get current exchanger configuration More...
 
int get_config_verbose ()
 get current verbose configuration More...
 
int get_config_sort ()
 get current sert algorithm configuration More...
 

Typedef Documentation

◆ t_config

typedef struct t_config t_config

Enumeration Type Documentation

◆ distdir_exchanger

Enum for supported exchanger.

Enumerator
IsendIrecv1 
IsendIrecv2 
IsendRecv1 
IsendRecv2 
IsendIrecv1NoWait 
IsendIrecv2NoWait 
IsendRecv1NoWait 
IsendRecv2NoWait 

◆ distdir_hardware

Enum for supported hardware.

Enumerator
CPU 
GPU_NVIDIA 
GPU_AMD 

◆ distdir_sort

Enum for supported sorting algorithms.

Enumerator
mergesort 
quicksort 
timsort 

◆ distdir_verbose

Enum for verbosity.

Enumerator
verbose_true 
verbose_false