LIBINT  2.1.0-stable
Classes | Public Member Functions | List of all members
libint2::CompilationParameters Class Reference

These are the parameters received by the compiler. More...

#include <default_params.h>

Public Member Functions

 CompilationParameters ()
 Use default parameters.
 
unsigned int max_am (std::string t="", unsigned int c=0) const
 returns max AM for task t and center c
 
unsigned int max_am_opt (std::string t="") const
 returns max AM for which to produce optimal code for task t
 
unsigned int num_bf (std::string t="") const
 returns number of basis functions in integrals for task t
 
unsigned int max_vector_length () const
 returns max vector length
 
bool vectorize_by_line () const
 returns whether to vectorize line-by-line
 
unsigned int unroll_threshold () const
 returns unroll threshold
 
unsigned int align_size () const
 returns alignment size (in units of sizeof(LIBINT_FLOAT))
 
const std::string & source_directory () const
 returns directory path for the generated source
 
const std::string & api_prefix () const
 the API prefix
 
bool single_evaltype () const
 generate single evaluator type (i.e. not specific to each task)?
 
bool use_C_linking () const
 returns whether to use C-style linking
 
bool count_flops () const
 whether FLOP counting is enabled
 
bool profile () const
 whether profiling instrumentation is enabled
 
bool accumulate_targets () const
 whether target integrals are accumulated
 
const std::string & realtype () const
 name of the floating-point type
 
bool contracted_targets () const
 whether contracted targets are supported
 
const std::string & default_task_name () const
 default task name
 
void max_am (const std::string &t, unsigned int a, unsigned int c=0)
 set max AM for task t and center c
 
void max_am_opt (const std::string &t, unsigned int a)
 set max AM for task t
 
void num_bf (const std::string &t, unsigned int a)
 set num of basis functions for task t
 
void max_vector_length (unsigned int a)
 set max vector length
 
void vectorize_by_line (bool flag)
 set vectorize_by_line flag
 
void align_size (unsigned int a)
 set alignment size (in units of sizeof(LIBINT_FLOAT))
 
void unroll_threshold (unsigned int a)
 set unroll threshold
 
void source_directory (const std::string &a)
 set generated source directory
 
void api_prefix (const std::string &a)
 API prefix.
 
void single_evaltype (bool se)
 generate a single evaluator type (i.e. not specific to each task)?
 
void use_C_linking (bool a)
 set whether to use C style linking
 
void count_flops (bool a)
 set whether to count FLOPs
 
void profile (bool a)
 set to instrument profiling
 
void accumulate_targets (bool a)
 accumulate targets?
 
void realtype (const std::string &realtype)
 which floating-point type to use
 
void contracted_targets (bool c)
 support contracted targets?
 
void default_task_name (const std::string &s)
 default task name
 
void print (std::ostream &os) const
 print params out
 

Detailed Description

These are the parameters received by the compiler.


The documentation for this class was generated from the following files: