21.02
|
#include "helpers.h"
Go to the source code of this file.
Macros | |
#define | EQUAL(x, y) ((x) == (y)) |
#define | NOTEQUAL(x, y) ((x) != (y)) |
#define | GREATER(x, y) ((x) > (y)) |
#define | GREATEREQUAL(x, y) ((x) >= (y)) |
#define | LESS(x, y) ((x) < (y)) |
#define | LESSEQUAL(x, y) ((x) <= (y)) |
#define | DEFINE_KERNEL_STR(name) compare_##name |
#define | DEFINE_KERNEL(name) DEFINE_KERNEL_STR(name) |
#define | DEFINE_KERNEL_QUANTIZED_STR(name) compare_##name##_quantized |
#define | DEFINE_KERNEL_QUANTIZED(name) DEFINE_KERNEL_QUANTIZED_STR(name) |
#define DEFINE_KERNEL | ( | name | ) | DEFINE_KERNEL_STR(name) |
Definition at line 34 of file comparisons.cl.
#define DEFINE_KERNEL_QUANTIZED | ( | name | ) | DEFINE_KERNEL_QUANTIZED_STR(name) |
Definition at line 37 of file comparisons.cl.
Definition at line 36 of file comparisons.cl.
Definition at line 33 of file comparisons.cl.
#define EQUAL | ( | x, | |
y | |||
) | ((x) == (y)) |
Definition at line 26 of file comparisons.cl.
#define GREATER | ( | x, | |
y | |||
) | ((x) > (y)) |
Definition at line 28 of file comparisons.cl.
#define GREATEREQUAL | ( | x, | |
y | |||
) | ((x) >= (y)) |
Definition at line 29 of file comparisons.cl.
#define LESS | ( | x, | |
y | |||
) | ((x) < (y)) |
Definition at line 30 of file comparisons.cl.
#define LESSEQUAL | ( | x, | |
y | |||
) | ((x) <= (y)) |
Definition at line 31 of file comparisons.cl.
#define NOTEQUAL | ( | x, | |
y | |||
) | ((x) != (y)) |
Definition at line 27 of file comparisons.cl.