QUDA
v1.1.0
A library for QCD on GPUs
|
#include <stdio.h>
#include <stdlib.h>
#include <enum_quda.h>
#include <comm_quda.h>
#include <tune_key.h>
Go to the source code of this file.
Namespaces | |
quda | |
Macros | |
#define | zeroThread |
#define | printfZero(...) |
#define | printfQuda(...) |
#define | errorQuda(...) |
#define | warningQuda(...) |
#define | checkCudaErrorNoSync() |
#define | checkCudaError() checkCudaErrorNoSync() |
Functions | |
QudaTune | getTuning () |
Query whether autotuning is enabled or not. Default is enabled but can be overridden by setting QUDA_ENABLE_TUNING=0. More... | |
QudaVerbosity | getVerbosity () |
char * | getOutputPrefix () |
FILE * | getOutputFile () |
void | setVerbosity (QudaVerbosity verbosity) |
void | setOutputPrefix (const char *prefix) |
void | setOutputFile (FILE *outfile) |
void | pushVerbosity (QudaVerbosity verbosity) |
Push a new verbosity onto the stack. More... | |
void | popVerbosity () |
Pop the verbosity restoring the prior one on the stack. More... | |
void | pushOutputPrefix (const char *prefix) |
Push a new output prefix onto the stack. More... | |
void | popOutputPrefix () |
Pop the output prefix restoring the prior one on the stack. More... | |
bool | getRankVerbosity () |
This function returns true if the calling rank is enabled for verbosity (e.g., whether printQuda and warningQuda will print out from this rank). More... | |
char * | getPrintBuffer () |
char * | getOmpThreadStr () |
Returns a string of the form ",omp_threads=$OMP_NUM_THREADS", which can be used for storing the number of OMP threads for CPU functions recorded in the tune cache. More... | |
void | quda::saveTuneCache (bool error=false) |
#define checkCudaError | ( | ) | checkCudaErrorNoSync() |
Definition at line 158 of file util_quda.h.
#define checkCudaErrorNoSync | ( | ) |
Definition at line 143 of file util_quda.h.
#define errorQuda | ( | ... | ) |
Definition at line 120 of file util_quda.h.
#define printfQuda | ( | ... | ) |
Definition at line 114 of file util_quda.h.
#define printfZero | ( | ... | ) |
Definition at line 72 of file util_quda.h.
#define warningQuda | ( | ... | ) |
Definition at line 132 of file util_quda.h.
#define zeroThread |
Definition at line 68 of file util_quda.h.
char* getOmpThreadStr | ( | ) |
Returns a string of the form ",omp_threads=$OMP_NUM_THREADS", which can be used for storing the number of OMP threads for CPU functions recorded in the tune cache.
Definition at line 134 of file util_quda.cpp.
FILE* getOutputFile | ( | ) |
Definition at line 23 of file util_quda.cpp.
char* getOutputPrefix | ( | ) |
Definition at line 22 of file util_quda.cpp.
char* getPrintBuffer | ( | ) |
Definition at line 132 of file util_quda.cpp.
bool getRankVerbosity | ( | ) |
This function returns true if the calling rank is enabled for verbosity (e.g., whether printQuda and warningQuda will print out from this rank).
Definition at line 30 of file util_quda.cpp.
QudaTune getTuning | ( | ) |
Query whether autotuning is enabled or not. Default is enabled but can be overridden by setting QUDA_ENABLE_TUNING=0.
Definition at line 52 of file util_quda.cpp.
QudaVerbosity getVerbosity | ( | ) |
Definition at line 21 of file util_quda.cpp.
void popOutputPrefix | ( | ) |
Pop the output prefix restoring the prior one on the stack.
Definition at line 121 of file util_quda.cpp.
void popVerbosity | ( | ) |
Pop the verbosity restoring the prior one on the stack.
Definition at line 94 of file util_quda.cpp.
void pushOutputPrefix | ( | const char * | prefix | ) |
Push a new output prefix onto the stack.
Definition at line 105 of file util_quda.cpp.
void pushVerbosity | ( | QudaVerbosity | verbosity | ) |
Push a new verbosity onto the stack.
Definition at line 83 of file util_quda.cpp.
void setOutputFile | ( | FILE * | outfile | ) |
Definition at line 75 of file util_quda.cpp.
void setOutputPrefix | ( | const char * | prefix | ) |
Definition at line 69 of file util_quda.cpp.
void setVerbosity | ( | QudaVerbosity | verbosity | ) |
Definition at line 25 of file util_quda.cpp.