| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libclc] Add generic implementation of some atomic functions in OpenCL spec section 6.15.12.7 (#146814) Add corresponding clc functions, which are implemented with clang __scoped_atomic builtins. OpenCL functions are implemented as a wrapper over clc functions. Also change legacy atomic_inc and atomic_dec to re-use the newly added clc_atomic_inc/dec implementations. llvm-diff only no change to atomic_inc and atomic_dec in bitcode. Notes: * Generic OpenCL built-ins functions uses __ATOMIC_SEQ_CST and __MEMORY_SCOPE_DEVICE for memory order and memory scope parameters. * OpenCL atomic_*_explicit, atomic_flag* built-ins are not implemented yet. * OpenCL built-ins of atomic_intptr_t, atomic_uintptr_t, atomic_size_t and atomic_ptrdiff_t types are not implemented yet. * llvm-diff shows no change to nvptx64--nvidiacl.bc and amdgcn--amdhsa.bc since __opencl_c_atomic_order_seq_cst and __opencl_c_atomic_scope_device are not defined in these two targets. | 1 年前 | |
[libclc] Remove __attribute__((always_inline)) (#158791) always_inline doesn't guarantee performance improvement. Target-specific optimizations decide whether inlining is profitable. Changes to amdgcn--amdhsa.bc: * _Z9__clc_logDv16_f and _Z15__clc_remainderDv16_fS_ are not inlined. * sincos vector function code size has doubled due to apparent duplication. Also replace typo _CLC_DECL with _CLC_DEF for function definition. | 10 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[libclc] Fix floating-point __clc_atomic_store/exchange cast mismatch (#167625) When pointer element type is casted to integer type, the stored value should be casted to integer type to avoid type mistmatch. LLVM IR change in function _Z18__clc_atomic_storePU3AS1Vffii: > %5 = bitcast float %1 to i32 (New) < %5 = fptosi float %1 to i32 (Old) | 8 个月前 | |
[libclc] Fix floating-point __clc_atomic_store/exchange cast mismatch (#167625) When pointer element type is casted to integer type, the stored value should be casted to integer type to avoid type mistmatch. LLVM IR change in function _Z18__clc_atomic_storePU3AS1Vffii: > %5 = bitcast float %1 to i32 (New) < %5 = fptosi float %1 to i32 (Old) | 8 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[libclc] Add atomic_init, atomic_flag_clear and atomic_flag_test_and_set (#168329) | 8 个月前 | |
[libclc] Add atomic_init, atomic_flag_clear and atomic_flag_test_and_set (#168329) | 8 个月前 | |
[NFC][libclc] add missing __CLC_ prefix all internal macros (#153523) This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. #define AU0 -9.86494292470009928597e-03 | 11 个月前 | |
[libclc] Fix floating-point __clc_atomic_store/exchange cast mismatch (#167625) When pointer element type is casted to integer type, the stored value should be casted to integer type to avoid type mistmatch. LLVM IR change in function _Z18__clc_atomic_storePU3AS1Vffii: > %5 = bitcast float %1 to i32 (New) < %5 = fptosi float %1 to i32 (Old) | 8 个月前 | |
[libclc] Fix floating-point __clc_atomic_store/exchange cast mismatch (#167625) When pointer element type is casted to integer type, the stored value should be casted to integer type to avoid type mistmatch. LLVM IR change in function _Z18__clc_atomic_storePU3AS1Vffii: > %5 = bitcast float %1 to i32 (New) < %5 = fptosi float %1 to i32 (Old) | 8 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 10 个月前 | ||
| 11 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 11 个月前 | ||
| 8 个月前 | ||
| 8 个月前 |