QUDA  v1.1.0
A library for QCD on GPUs
Classes | Namespaces | Macros | Typedefs | Functions | Variables
tune.cpp File Reference
#include <tune_quda.h>
#include <comm_quda.h>
#include <quda.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <cfloat>
#include <ctime>
#include <fstream>
#include <typeinfo>
#include <map>
#include <list>
#include <unistd.h>
#include <uint_to_char.h>
#include <deque>
#include <queue>
#include <functional>
#include <communicator_quda.h>

Go to the source code of this file.

Classes

struct  quda::TraceKey
 
struct  quda::less_significant< T >
 

Namespaces

 quda
 

Macros

#define STR_(x)   #x
 
#define STR(x)   STR_(x)
 

Typedefs

typedef std::map< TuneKey, TuneParam > quda::map
 

Functions

quda::TuneKey getLastTuneKey ()
 
int quda::traceEnabled ()
 
void quda::postTrace_ (const char *func, const char *file, int line)
 Post an event in the trace, recording where it was posted. More...
 
bool quda::activeTuning ()
 query if tuning is in progress More...
 
void quda::disableProfileCount ()
 Disable the profile kernel counting. More...
 
void quda::enableProfileCount ()
 Enable the profile kernel counting. More...
 
const std::map< TuneKey, TuneParam > & quda::getTuneCache ()
 Returns a reference to the tunecache map. More...
 
void quda::loadTuneCache ()
 
void quda::saveTuneCache (bool error=false)
 
bool quda::policyTuning ()
 Query whether we are currently tuning a policy. More...
 
void quda::setPolicyTuning (bool)
 Enable / disable whether are tuning a policy. More...
 
bool quda::uberTuning ()
 Query whether we are tuning an uber kernel. More...
 
void quda::setUberTuning (bool)
 Enable / disable whether we are tuning an uber kernel. More...
 
void quda::flushProfile ()
 Flush profile contents, setting all counts to zero. More...
 
void quda::saveProfile (const std::string label="")
 Save profile to disk. More...
 
TuneParam quda::tuneLaunch (Tunable &tunable, QudaTune enabled, QudaVerbosity verbosity)
 
void quda::printLaunchTimer ()
 

Variables

char * gitversion
 

Macro Definition Documentation

◆ STR

#define STR (   x)    STR_(x)

Definition at line 128 of file tune.cpp.

◆ STR_

#define STR_ (   x)    #x

Definition at line 127 of file tune.cpp.

Function Documentation

◆ getLastTuneKey()

quda::TuneKey getLastTuneKey ( )

Return the key of the last kernel that has been tuned / called.

Definition at line 30 of file tune.cpp.

Variable Documentation

◆ gitversion

char* gitversion
extern

Definition at line 4 of file version.cpp.