Files
clang-p2996/libclc/generic/lib/relational/select.cl
Fraser Cormack d96ec48068 [libclc] Route select through __clc_select (#123647)
This was missed during the introduction of select. This also unifies the
various .inc files used for each, as they were essentially identical.

The __clc_select function is now also built for SPIR-V targets.
2025-01-21 10:05:39 +00:00

12 lines
358 B
Common Lisp

#include <clc/clc.h>
#include <clc/relational/clc_select.h>
#include <clc/utils.h>
#define __CLC_SELECT_FN select
#define __CLC_SELECT_DEF(x, y, z) return __clc_select(x, y, z)
#define __CLC_BODY <clc/relational/clc_select_impl.inc>
#include <clc/math/gentype.inc>
#define __CLC_BODY <clc/relational/clc_select_impl.inc>
#include <clc/integer/gentype.inc>