You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
325 B
11 lines
325 B
#define _CLC_OVERLOAD __attribute__((overloadable))
|
|
#define _CLC_DECL
|
|
#define _CLC_INLINE __attribute__((always_inline)) inline
|
|
|
|
/* avoid inlines for SPIR-V since we'll optimise later in the chain */
|
|
#if defined(CLC_SPIRV) || defined(CLC_SPIRV64)
|
|
#define _CLC_DEF
|
|
#else
|
|
#define _CLC_DEF __attribute__((always_inline))
|
|
#endif
|