[libclc][NFC] Change include style from <...> to "..." (#186537)
project-specific headers should use "". Keep #include <amdhsa_abi.h> llvm-diff shows no change to libclc.bc for spir--, spir64--, nvptx64--, nvptx64--nvidiacl, nvptx64-nvidia-cuda and amdgcn-amd-amdhsa-llvm when LIBCLC_TARGETS_TO_BUILD is "all". Verified that reversing spir64--/libclc.spv and spir--/libclc.spv to LLVM bitcode shows no diff. Also fix `__CLC_INTEGER_CLC_BITFIELD_EXTRACT_SIGNED_H__` guard per copilot review. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ae9b5a4bca
commit
350385e792
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_ADDRESS_SPACE_CLC_QUALIFIER_H__
|
||||
#define __CLC_ADDRESS_SPACE_CLC_QUALIFIER_H__
|
||||
|
||||
#include <clc/clcfunc.h>
|
||||
#include "clc/clcfunc.h"
|
||||
|
||||
#if _CLC_GENERIC_AS_SUPPORTED
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_ASYNC_CLC_PREFETCH_H__
|
||||
#define __CLC_ASYNC_CLC_PREFETCH_H__
|
||||
|
||||
#define __CLC_BODY <clc/async/clc_prefetch_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/async/clc_prefetch_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/async/clc_prefetch_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/async/clc_prefetch_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#endif // __CLC_ASYNC_CLC_PREFETCH_H__
|
||||
|
||||
@ -9,16 +9,16 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_COMPARE_EXCHANGE_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_COMPARE_EXCHANGE_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_compare_exchange
|
||||
#define __CLC_COMPARE_EXCHANGE
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_COMPARE_EXCHANGE
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
@ -9,13 +9,13 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_DEC_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_DEC_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_dec
|
||||
#define __CLC_NO_VALUE_ARG
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_NO_VALUE_ARG
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
@ -9,15 +9,15 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_EXCHANGE_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_EXCHANGE_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_exchange
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,15 +9,15 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_FETCH_ADD_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_FETCH_ADD_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_fetch_add
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,12 +9,12 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_FETCH_AND_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_FETCH_AND_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_fetch_and
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,15 +9,15 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_FETCH_MAX_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_FETCH_MAX_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_fetch_max
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,15 +9,15 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_FETCH_MIN_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_FETCH_MIN_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_fetch_min
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,12 +9,12 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_FETCH_OR_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_FETCH_OR_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_fetch_or
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,15 +9,15 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_FETCH_SUB_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_FETCH_SUB_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_fetch_sub
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,12 +9,12 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_FETCH_XOR_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_FETCH_XOR_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_fetch_xor
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_FLAG_CLEAR_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_FLAG_CLEAR_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_DECLARE_ATOMIC_FLAG_CLEAR(ADDRSPACE) \
|
||||
_CLC_OVERLOAD _CLC_DECL void __clc_atomic_flag_clear( \
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_FLAG_TEST_AND_SET_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_FLAG_TEST_AND_SET_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_DECLARE_ATOMIC_FLAG_TEST_AND_SET(ADDRSPACE) \
|
||||
_CLC_OVERLOAD _CLC_DECL bool __clc_atomic_flag_test_and_set( \
|
||||
|
||||
@ -9,13 +9,13 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_INC_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_INC_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_inc
|
||||
#define __CLC_NO_VALUE_ARG
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_NO_VALUE_ARG
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
@ -9,16 +9,16 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_LOAD_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_LOAD_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_load
|
||||
#define __CLC_NO_VALUE_ARG
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_NO_VALUE_ARG
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
@ -9,16 +9,16 @@
|
||||
#ifndef __CLC_ATOMIC_CLC_ATOMIC_STORE_H__
|
||||
#define __CLC_ATOMIC_CLC_ATOMIC_STORE_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_atomic_store
|
||||
#define __CLC_RETURN_VOID
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/atomic/atomic_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/atomic/atomic_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_RETURN_VOID
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_CLC_CONVERT_H__
|
||||
#define __CLC_CLC_CONVERT_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define _CLC_CONVERT_DECL(FROM_TYPE, TO_TYPE, SUFFIX) \
|
||||
_CLC_OVERLOAD _CLC_DECL TO_TYPE __clc_convert_##TO_TYPE##SUFFIX(FROM_TYPE x);
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_BODY <clc/collective/clc_work_group_broadcast_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/collective/clc_work_group_broadcast_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/collective/clc_work_group_broadcast_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/collective/clc_work_group_broadcast_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#endif // __CLC_COLLECTIVE_CLC_WORK_GROUP_BROADCAST_H__
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_BODY <clc/collective/clc_work_group_reduce_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/collective/clc_work_group_reduce_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#define __CLC_BODY <clc/collective/clc_work_group_reduce_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/collective/clc_work_group_reduce_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#endif // __CLC_COLLECTIVE_CLC_WORK_GROUP_REDUCE_H__
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_COMMON_CLC_DEGREES_H__
|
||||
#define __CLC_COMMON_CLC_DEGREES_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_degrees
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_COMMON_CLC_RADIANS_H__
|
||||
#define __CLC_COMMON_CLC_RADIANS_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_radians
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_COMMON_CLC_SIGN_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_sign
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
// note: Unlike OpenCL __clc_smoothstep is only defined for three matching
|
||||
// argument types.
|
||||
|
||||
#define __CLC_BODY <clc/common/clc_smoothstep_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/common/clc_smoothstep_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#endif // __CLC_COMMON_CLC_SMOOTHSTEP_H__
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_COMMON_CLC_STEP_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_step
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <clc/utils.h>
|
||||
#include "clc/utils.h"
|
||||
|
||||
#ifndef __CLC_IMPL_FUNCTION
|
||||
#define __CLC_IMPL_FUNCTION(x) __CLC_CONCAT(__clc_, x)
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_GEOMETRIC_CLC_CROSS_H__
|
||||
#define __CLC_GEOMETRIC_CLC_CROSS_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
_CLC_OVERLOAD _CLC_CONST _CLC_DECL float3 __clc_cross(float3 p0, float3 p1);
|
||||
_CLC_OVERLOAD _CLC_CONST _CLC_DECL float4 __clc_cross(float4 p0, float4 p1);
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_GEOMETRIC_CLC_DISTANCE_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_distance
|
||||
#define __CLC_BODY <clc/geometric/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/geometric/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_GEOMETRIC_CLC_DOT_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_dot
|
||||
#define __CLC_BODY <clc/geometric/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/geometric/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
|
||||
#define __CLC_FLOAT_ONLY
|
||||
#define __CLC_FUNCTION __clc_fast_distance
|
||||
#define __CLC_BODY <clc/geometric/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/geometric/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
|
||||
#define __CLC_FLOAT_ONLY
|
||||
#define __CLC_FUNCTION __clc_fast_length
|
||||
#define __CLC_BODY <clc/geometric/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/geometric/unary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
#define __CLC_FLOAT_ONLY
|
||||
#define __CLC_GEOMETRIC_RET_GENTYPE
|
||||
#define __CLC_FUNCTION __clc_fast_normalize
|
||||
#define __CLC_BODY <clc/geometric/unary_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/geometric/unary_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
#undef __CLC_GEOMETRIC_RET_GENTYPE
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_GEOMETRIC_CLC_LENGTH_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_length
|
||||
#define __CLC_BODY <clc/geometric/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/geometric/unary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -11,8 +11,8 @@
|
||||
|
||||
#define __CLC_GEOMETRIC_RET_GENTYPE
|
||||
#define __CLC_FUNCTION __clc_normalize
|
||||
#define __CLC_BODY <clc/geometric/unary_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/geometric/unary_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
#undef __CLC_GEOMETRIC_RET_GENTYPE
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <clc/utils.h>
|
||||
#include "clc/utils.h"
|
||||
|
||||
#ifndef __CLC_IMPL_FUNCTION
|
||||
#define __CLC_IMPL_FUNCTION(x) __CLC_CONCAT(__clc_, x)
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_INTEGER_CLC_ABS_H__
|
||||
#define __CLC_INTEGER_CLC_ABS_H__
|
||||
|
||||
#define __CLC_BODY <clc/integer/clc_abs_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/integer/clc_abs_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#endif // __CLC_INTEGER_CLC_ABS_H__
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_INTEGER_CLC_ABS_DIFF_H__
|
||||
#define __CLC_INTEGER_CLC_ABS_DIFF_H__
|
||||
|
||||
#define __CLC_BODY <clc/integer/clc_abs_diff_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/integer/clc_abs_diff_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#endif // __CLC_INTEGER_CLC_ABS_DIFF_H__
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_ADD_SAT_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_add_sat
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_BIT_REVERSE_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_bit_reverse
|
||||
#define __CLC_BODY <clc/shared/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/unary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,13 +9,13 @@
|
||||
#ifndef __CLC_INTEGER_CLC_BITFIELD_EXTRACT_SIGNED_H__
|
||||
#define __CLC_INTEGER_CLC_BITFIELD_EXTRACT_SIGNED_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_bitfield_extract_signed
|
||||
#define __CLC_RETTYPE __CLC_S_GENTYPE
|
||||
|
||||
#define __CLC_BODY <clc/integer/clc_bitfield_extract_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/integer/clc_bitfield_extract_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_RETTYPE
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
@ -6,18 +6,18 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef __CLC_INTEGER_CLC_BITFIELD_EXTRACT_SIGNED_H__
|
||||
#define __CLC_INTEGER_CLC_BITFIELD_EXTRACT_SIGNED_H__
|
||||
#ifndef __CLC_INTEGER_CLC_BITFIELD_EXTRACT_UNSIGNED_H__
|
||||
#define __CLC_INTEGER_CLC_BITFIELD_EXTRACT_UNSIGNED_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_bitfield_extract_unsigned
|
||||
#define __CLC_RETTYPE __CLC_U_GENTYPE
|
||||
|
||||
#define __CLC_BODY <clc/integer/clc_bitfield_extract_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/integer/clc_bitfield_extract_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_RETTYPE
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
#endif // __CLC_INTEGER_CLC_BITFIELD_EXTRACT_SIGNED_H__
|
||||
#endif // __CLC_INTEGER_CLC_BITFIELD_EXTRACT_UNSIGNED_H__
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_INTEGER_CLC_BITFIELD_INSERT_H__
|
||||
#define __CLC_INTEGER_CLC_BITFIELD_INSERT_H__
|
||||
|
||||
#include <clc/internal/clc.h>
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_FUNCTION __clc_bitfield_insert
|
||||
#define __CLC_BODY <clc/integer/clc_bitfield_insert_decl.inc>
|
||||
#include <clc/integer/gentype.inc>
|
||||
#define __CLC_BODY "clc/integer/clc_bitfield_insert_decl.inc"
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#endif // __CLC_INTEGER_CLC_BITFIELD_INSERT_H__
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_CLZ_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_clz
|
||||
#define __CLC_BODY <clc/shared/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/unary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_CTZ_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_ctz
|
||||
#define __CLC_BODY <clc/shared/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/unary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_HADD_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_hadd
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_MAD24_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_mad24
|
||||
#define __CLC_BODY <clc/shared/ternary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/ternary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype24.inc>
|
||||
#include "clc/integer/gentype24.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_INTEGER_CLC_MAD_HI_H__
|
||||
#define __CLC_INTEGER_CLC_MAD_HI_H__
|
||||
|
||||
#include <clc/integer/clc_mul_hi.h>
|
||||
#include "clc/integer/clc_mul_hi.h"
|
||||
|
||||
#define __clc_mad_hi(a, b, c) (__clc_mul_hi((a), (b)) + (c))
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_MAD_SAT_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_mad_sat
|
||||
#define __CLC_BODY <clc/shared/ternary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/ternary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_MUL24_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_mul24
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype24.inc>
|
||||
#include "clc/integer/gentype24.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_MUL_HI_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_mul_hi
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_POPCOUNT_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_popcount
|
||||
#define __CLC_BODY <clc/shared/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/unary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_INTRINSIC
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_RHADD_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_rhadd
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_ROTATE_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_rotate
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_INTEGER_CLC_SUB_SAT_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_sub_sat
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/integer/gentype.inc>
|
||||
#include "clc/integer/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_INTEGER_CLC_UPSAMPLE_H__
|
||||
#define __CLC_INTEGER_CLC_UPSAMPLE_H__
|
||||
|
||||
#include <clc/clcfunc.h>
|
||||
#include "clc/clcfunc.h"
|
||||
|
||||
#define __CLC_UPSAMPLE_DECL(BGENTYPE, GENTYPE, UGENTYPE) \
|
||||
_CLC_OVERLOAD _CLC_DECL BGENTYPE __clc_upsample(GENTYPE hi, UGENTYPE lo);
|
||||
|
||||
@ -6,8 +6,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <clc/clcfunc.h>
|
||||
#include <clc/utils.h>
|
||||
#include "clc/clcfunc.h"
|
||||
#include "clc/utils.h"
|
||||
|
||||
#define __CLC_AS_GENTYPE __CLC_XCONCAT(__clc_as_, __CLC_GENTYPE)
|
||||
#define __CLC_CONVERT_GENTYPE __CLC_XCONCAT(__clc_convert_, __CLC_GENTYPE)
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <clc/clcfunc.h>
|
||||
#include "clc/clcfunc.h"
|
||||
|
||||
#define __CLC_GENSIZE 32
|
||||
#undef __CLC_SCALAR_GENTYPE
|
||||
|
||||
@ -24,12 +24,12 @@
|
||||
#endif
|
||||
|
||||
/* Function Attributes */
|
||||
#include <clc/clcfunc.h>
|
||||
#include "clc/clcfunc.h"
|
||||
|
||||
/* 6.1 Supported Data Types */
|
||||
|
||||
/* 6.2.4.2 Reinterpreting Types Using __clc_as_type() and __clc_as_typen() */
|
||||
#include <clc/clc_as_type.h>
|
||||
#include "clc/clc_as_type.h"
|
||||
|
||||
#pragma OPENCL EXTENSION all : disable
|
||||
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
|
||||
#define __CLC_FUNCTION __clc_sw_fma
|
||||
#define __CLC_FLOAT_ONLY
|
||||
#define __CLC_BODY <clc/shared/ternary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/ternary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ACOS_H__
|
||||
#define __CLC_MATH_CLC_ACOS_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_acos
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ACOSH_H__
|
||||
#define __CLC_MATH_CLC_ACOSH_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_acosh
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ACOSPI_H__
|
||||
#define __CLC_MATH_CLC_ACOSPI_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_acospi
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ASIN_H__
|
||||
#define __CLC_MATH_CLC_ASIN_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_asin
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ASINH_H__
|
||||
#define __CLC_MATH_CLC_ASINH_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_asinh
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ASINPI_H__
|
||||
#define __CLC_MATH_CLC_ASINPI_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_asinpi
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ATAN_H__
|
||||
#define __CLC_MATH_CLC_ATAN_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_atan
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ATAN2_H__
|
||||
#define __CLC_MATH_CLC_ATAN2_H__
|
||||
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_atan2
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ATAN2PI_H__
|
||||
#define __CLC_MATH_CLC_ATAN2PI_H__
|
||||
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_atan2pi
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ATANH_H__
|
||||
#define __CLC_MATH_CLC_ATANH_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_atanh
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ATANPI_H__
|
||||
#define __CLC_MATH_CLC_ATANPI_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_atanpi
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_CBRT_H__
|
||||
#define __CLC_MATH_CLC_CBRT_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_cbrt
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_CEIL_H__
|
||||
#define __CLC_MATH_CLC_CEIL_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_ceil
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_COPYSIGN_H__
|
||||
#define __CLC_MATH_CLC_COPYSIGN_H__
|
||||
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_copysign
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_COS_H__
|
||||
#define __CLC_MATH_CLC_COS_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_cos
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_COSH_H__
|
||||
#define __CLC_MATH_CLC_COSH_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_cosh
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_COSPI_H__
|
||||
#define __CLC_MATH_CLC_COSPI_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_cospi
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -17,9 +17,9 @@
|
||||
// correctly rounded and opencl precision versions.
|
||||
|
||||
#define __CLC_FUNCTION __clc_div_cr
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_MATH_CLC_DIV_FAST_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_div_fast
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#include "clc/internal/clc.h"
|
||||
|
||||
#define __CLC_BODY <clc/math/clc_ep_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/math/clc_ep_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#endif // __CLC_MATH_CLC_EP_H__
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#ifndef __CLC_MATH_CLC_EP_LOG_H__
|
||||
#define __CLC_MATH_CLC_EP_LOG_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/clc_ep_log_decl.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/math/clc_ep_log_decl.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#endif // __CLC_MATH_CLC_EP_LOG_H__
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ERF_H__
|
||||
#define __CLC_MATH_CLC_ERF_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_erf
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_ERFC_H__
|
||||
#define __CLC_MATH_CLC_ERFC_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_erfc
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_EXP_H__
|
||||
#define __CLC_MATH_CLC_EXP_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_exp
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_EXP10_H__
|
||||
#define __CLC_MATH_CLC_EXP10_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_exp10
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_EXP2_H__
|
||||
#define __CLC_MATH_CLC_EXP2_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_exp2
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_MATH_CLC_EXP2_FAST_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_exp2_fast
|
||||
#define __CLC_BODY <clc/shared/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/unary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@
|
||||
#define __CLC_MATH_CLC_EXP_HELPER
|
||||
|
||||
#define __CLC_DOUBLE_ONLY
|
||||
#define __CLC_BODY <clc/math/clc_exp_helper_decl.inc>
|
||||
#define __CLC_BODY "clc/math/clc_exp_helper_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#endif // __CLC_MATH_CLC_EXP_HELPER
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_EXPM1_H__
|
||||
#define __CLC_MATH_CLC_EXPM1_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_expm1
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_FABS_H__
|
||||
#define __CLC_MATH_CLC_FABS_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_fabs
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_FDIM_H__
|
||||
#define __CLC_MATH_CLC_FDIM_H__
|
||||
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_fdim
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
#ifndef __CLC_MATH_CLC_FLOOR_H__
|
||||
#define __CLC_MATH_CLC_FLOOR_H__
|
||||
|
||||
#define __CLC_BODY <clc/math/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl.inc"
|
||||
#define __CLC_FUNCTION __clc_floor
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_MATH_CLC_FMA_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_fma
|
||||
#define __CLC_BODY <clc/shared/ternary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/ternary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_MATH_CLC_FMAX_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_fmax
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_MATH_CLC_FMIN_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_fmin
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_MATH_CLC_FMOD_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_fmod
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
#define __CLC_MATH_CLC_FRACT_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_fract
|
||||
#define __CLC_BODY <clc/math/unary_decl_with_ptr.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl_with_ptr.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@
|
||||
#define __CLC_MATH_CLC_FREXP_H__
|
||||
|
||||
#define __CLC_FUNCTION __clc_frexp
|
||||
#define __CLC_BODY <clc/math/unary_decl_with_int_ptr.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
#define __CLC_BODY "clc/math/unary_decl_with_int_ptr.inc"
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
|
||||
#define __CLC_FLOAT_ONLY
|
||||
#define __CLC_FUNCTION __clc_half_cos
|
||||
#define __CLC_BODY <clc/shared/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/unary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
|
||||
#define __CLC_FLOAT_ONLY
|
||||
#define __CLC_FUNCTION __clc_half_divide
|
||||
#define __CLC_BODY <clc/shared/binary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
|
||||
#define __CLC_FLOAT_ONLY
|
||||
#define __CLC_FUNCTION __clc_half_exp
|
||||
#define __CLC_BODY <clc/shared/unary_decl.inc>
|
||||
#define __CLC_BODY "clc/shared/unary_decl.inc"
|
||||
|
||||
#include <clc/math/gentype.inc>
|
||||
#include "clc/math/gentype.inc"
|
||||
|
||||
#undef __CLC_FUNCTION
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user