LIBINT  2.6.0
Public Member Functions | List of all members
libint2::TaskParameters Class Reference

This class maintains various parameters for each task type which can only be determined during the source generation (max stack size, etc.). More...

#include <default_params.h>

Public Member Functions

unsigned int max_ntarget () const
 returns the max number of targets
 
unsigned int max_am () const
 returns the max quantum number of targets
 
unsigned int max_stack_size (unsigned int am) const
 returns max stack size needed for quantum numbers up to am
 
unsigned int max_vector_stack_size (unsigned int am) const
 returns max vector stack size. More...
 
unsigned int max_hrr_hsrank (unsigned int am) const
 returns max rank of high-significance functions in a HRR call. More...
 
unsigned int max_hrr_lsrank (unsigned int am) const
 returns max rank of low-significance functions in a HRR call. More...
 
void max_ntarget (unsigned int ntarget)
 if max_ntarget_ < ntarget then set max_ntarget_=ntarget
 
void max_stack_size (unsigned int am, unsigned int size)
 if max_stack_size_ < size then set max_stack_size_=size
 
void max_vector_stack_size (unsigned int am, unsigned int size)
 if max_vector_stack_size_ < size then set max_vector_stack_size_=size
 
void max_hrr_hsrank (unsigned int am, unsigned int rank)
 if max_hrr_hsrank_ < rank then set max_hrr_hsrank_=rank
 
void max_hrr_lsrank (unsigned int am, unsigned int rank)
 if max_hrr_lsrank_ < rank then set max_hrr_lsrank_=rank
 

Detailed Description

This class maintains various parameters for each task type which can only be determined during the source generation (max stack size, etc.).

Member Function Documentation

◆ max_hrr_hsrank()

unsigned int libint2::TaskParameters::max_hrr_hsrank ( unsigned int  am) const
inline

returns max rank of high-significance functions in a HRR call.

This is only needed when doing linewise vectorization.

◆ max_hrr_lsrank()

unsigned int libint2::TaskParameters::max_hrr_lsrank ( unsigned int  am) const
inline

returns max rank of low-significance functions in a HRR call.

This is only needed when doing linewise vectorization.

◆ max_vector_stack_size()

unsigned int libint2::TaskParameters::max_vector_stack_size ( unsigned int  am) const
inline

returns max vector stack size.

vector stack is only used to hold intermediate quantities in set-level RR code. This is only needed when doing linewise vectorization.


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