tesseract  4.0.0-1-g2a2b
openclwrapper.h File Reference
#include <cstdio>
#include "allheaders.h"
#include "pix.h"
#include "tprintf.h"

Go to the source code of this file.

Macros

#define ON_WINDOWS   0
 
#define ON_LINUX   0
 
#define ON_APPLE   0
 
#define ON_OTHER   1
 
#define IF_WINDOWS(X)
 
#define IF_LINUX(X)
 
#define IF_APPLE(X)
 
#define IF_OTHER(X)   X
 
#define NOT_WINDOWS(X)   X
 
#define PERF_COUNT_VERBOSE   1
 
#define PERF_COUNT_REPORT_STR   "[%36s], %24s, %11.6f\n"
 
#define PERF_COUNT_START(FUNCT_NAME)
 
#define PERF_COUNT_END
 
#define PERF_COUNT_SUB(SUB)
 

Macro Definition Documentation

◆ IF_APPLE

#define IF_APPLE (   X)

Definition at line 60 of file openclwrapper.h.

◆ IF_LINUX

#define IF_LINUX (   X)

Definition at line 59 of file openclwrapper.h.

◆ IF_OTHER

#define IF_OTHER (   X)    X

Definition at line 61 of file openclwrapper.h.

◆ IF_WINDOWS

#define IF_WINDOWS (   X)

Definition at line 58 of file openclwrapper.h.

◆ NOT_WINDOWS

#define NOT_WINDOWS (   X)    X

Definition at line 62 of file openclwrapper.h.

◆ ON_APPLE

#define ON_APPLE   0

Definition at line 56 of file openclwrapper.h.

◆ ON_LINUX

#define ON_LINUX   0

Definition at line 55 of file openclwrapper.h.

◆ ON_OTHER

#define ON_OTHER   1

Definition at line 57 of file openclwrapper.h.

◆ ON_WINDOWS

#define ON_WINDOWS   0

Definition at line 54 of file openclwrapper.h.

◆ PERF_COUNT_END

#define PERF_COUNT_END

Definition at line 135 of file openclwrapper.h.

◆ PERF_COUNT_REPORT_STR

#define PERF_COUNT_REPORT_STR   "[%36s], %24s, %11.6f\n"

Definition at line 79 of file openclwrapper.h.

◆ PERF_COUNT_START

#define PERF_COUNT_START (   FUNCT_NAME)

Definition at line 134 of file openclwrapper.h.

◆ PERF_COUNT_SUB

#define PERF_COUNT_SUB (   SUB)

Definition at line 147 of file openclwrapper.h.

◆ PERF_COUNT_VERBOSE

#define PERF_COUNT_VERBOSE   1

Definition at line 78 of file openclwrapper.h.