QUDA v0.4.0
A library for QCD on GPUs
Defines | Functions
quda/lib/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>

Go to the source code of this file.

Defines

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

Functions

void loadTuneCache (QudaVerbosity verbosity)
void saveTuneCache (QudaVerbosity verbosity)
TuneParam tuneLaunch (Tunable &tunable, QudaTune enabled, QudaVerbosity verbosity)

Define Documentation

#define STR (   x)    STR_(x)

Definition at line 18 of file tune.cpp.

#define STR_ (   x)    #x

Definition at line 17 of file tune.cpp.


Function Documentation

void loadTuneCache ( QudaVerbosity  verbosity)

Definition at line 103 of file tune.cpp.

void saveTuneCache ( QudaVerbosity  verbosity)

Write tunecache to disk.

Definition at line 173 of file tune.cpp.

TuneParam tuneLaunch ( Tunable tunable,
QudaTune  enabled,
QudaVerbosity  verbosity 
)

Return the optimal launch parameters for a given kernel, either by retrieving them from tunecache or autotuning on the spot.

Definition at line 234 of file tune.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines