Sync from SUSE:SLFO:Main libclc revision 5318d1dcbfe7c072b768d0f9e6b24396
This commit is contained in:
commit
6a9afcc077
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
libclc-17.0.1.src.tar.xz
(Stored with Git LFS)
Normal file
BIN
libclc-17.0.1.src.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
libclc-17.0.1.src.tar.xz.sig
Normal file
BIN
libclc-17.0.1.src.tar.xz.sig
Normal file
Binary file not shown.
6
libclc-rpmlintrc
Normal file
6
libclc-rpmlintrc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# This line is mandatory to access the configuration functions
|
||||||
|
from Config import *
|
||||||
|
|
||||||
|
# Files required at runtime by applications using OpenCL.
|
||||||
|
addFilter("devel-file-in-non-devel-package.*/usr/include/clc/.*")
|
||||||
|
addFilter("devel-file-in-non-devel-package.*/usr/share/pkgconfig/libclc.pc")
|
490
libclc.changes
Normal file
490
libclc.changes
Normal file
@ -0,0 +1,490 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 20 12:57:41 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- let sle15-sp6 require llvm17/clang17
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 20 21:30:56 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Update to version 17.0.1.
|
||||||
|
* No changelog was made available
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 22 23:54:02 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Update to version 16.0.0.
|
||||||
|
- Drop cmake-flags-concat.patch that landed upstream.
|
||||||
|
- Enable opaque pointers now that Mesa seems to support them.
|
||||||
|
- Add PGP signatures and keyring for source verification.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 28 14:28:38 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Add support for SPIR-V targets on Tumbleweed.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 5 11:05:57 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- build with llvm15/clang15 on sle15-sp5/Leap 15.5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 16 17:31:22 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Fix build on Leap by adding "-Xclang -no-opaque-pointers" only
|
||||||
|
for Clang 15 and newer.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 29 21:33:37 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Update to version 0.2.0+llvm15.0.0.
|
||||||
|
- Compile without opaque pointers for now because Mesa doesn't
|
||||||
|
support them yet.
|
||||||
|
- Add cmake-flags-concat.patch to ensure proper concatenation of
|
||||||
|
build flags: CMAKE_<LANG>_FLAGS is a string and not a list.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 25 13:33:10 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- fixed build on Leap 15.3 by buildrequiring clang13/llvm13
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 1 21:44:03 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Update to version 0.2.0+llvm14.0.0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 15 09:30:31 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- reverted previous change (boo#1192675)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 14 19:56:38 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- create /usr/lib64/clc compatibility symlink (boo#1192675)
|
||||||
|
- due to above no longer noarch package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 2 20:13:04 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Update to version 0.2.0+llvm13.0.0.
|
||||||
|
- Make it easier to build release candidates.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 29 12:44:19 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- fixed broken %{_llvm_sonum} in libcl(llvm%{_llvm_sonum}) Provides
|
||||||
|
by buildrequiring appropriate llvm/clang -devel packages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 29 12:00:22 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- needed for jira#SLE/SLE-18743 (Mesa update for sle15-sp4/Leap 15.4)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 14 23:57:28 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Update to version 0.2.0+llvm12.0.0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 9 16:37:14 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Update to version 0.2.0+llvm11.0.1.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 30 15:33:35 UTC 2020 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Update to version 0.2.0+llvm11.0.0.
|
||||||
|
The repository that we extracted the tarball from isn't updated
|
||||||
|
any longer. So we take the tarballs from LLVM releases instead.
|
||||||
|
- The build now uses CMake instead of a custom Python script.
|
||||||
|
- Remove dependencies on gcc, libstdc++-devel, ncurses and zlib.
|
||||||
|
- The provided package consists of LLVM bitcode files, which are
|
||||||
|
not necessarily backwards-compatible across major versions.
|
||||||
|
(https://llvm.org/docs/DeveloperPolicy.html#ir-backwards-compatibility)
|
||||||
|
So we let the package provide a symbol libclc(llvmXX).
|
||||||
|
- The library files have moved from %{_libdir} to %{_datadir}.
|
||||||
|
- Make noarch: the bitcode files don't depend on the host CPU.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 26 13:20:28 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20190805:
|
||||||
|
* Revert "Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC"
|
||||||
|
* Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC
|
||||||
|
* travis: Add LLVM-8 build
|
||||||
|
- Small spec file updates
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 19 08:23:57 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update License tag to (BSD-3-Clause or MIT) and Apache-2.0 WITH
|
||||||
|
LLVM-exception after legal review.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 13 19:52:59 UTC 2019 - jimmy@boombatower.com
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20190313:
|
||||||
|
* sincos: Simplify declaration headers.
|
||||||
|
* fdim: Use binary_decl_tt.inc instead of custom inc file.
|
||||||
|
* nextafter: Use binary_decl_tt.inc instead of custom inc file.
|
||||||
|
* copysign: Use binary_decl_tt.inc instead of custom inc file.
|
||||||
|
* atan2pi: Use binary_decl_tt.inc instead of custom inc file.
|
||||||
|
* atan2: Use binary_decl_tt.inc instead of custom inc file.
|
||||||
|
* hypot: Use binary_decl_tt.inc instead of custom inc file
|
||||||
|
* Move unary_instrinsic.inc to private headers.
|
||||||
|
* Move binary_intrinsic.h to private headers.
|
||||||
|
* Move ternary_intrinsic.h to private headers.
|
||||||
|
* trunc: Remove llvm intrinsic from the header.
|
||||||
|
* round: Remove llvm intrinsic from the header
|
||||||
|
* rint: Remove llvm intrinsic from the header.
|
||||||
|
* floor: Remove llvm isntrinsic from the header.
|
||||||
|
* fabs: Remove llvm intrinsic from the header.
|
||||||
|
* ceil: Remove llvm intrinsic from the header.
|
||||||
|
* sqrt: Split function generation to a shared inc file.
|
||||||
|
* mad: Convert to standard ternary header
|
||||||
|
* travis: Deduplicate LLVM_CONFIG variable
|
||||||
|
* travis: Use gcc-6 for llvm-7 build
|
||||||
|
* Adjust documentation for git migration.
|
||||||
|
* Fix typos throughout the license files that somehow I and my reviewers all missed!
|
||||||
|
* Update the file headers across all of the LLVM projects in the monorepo to reflect the new license.
|
||||||
|
* Install new LLVM license structure and new developer policy.
|
||||||
|
* Update year in license files
|
||||||
|
* cmake: Install libraries to DATADIR from GNUInstallDirs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 5 16:43:13 UTC 2019 - aaronpuchert@alice-dsl.net
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20181127, which fixes issues with amdgcn:
|
||||||
|
* travis: Add cmake build
|
||||||
|
* Add cmake build system
|
||||||
|
* r600: Remove empty OVERRIDES file
|
||||||
|
* amdgcn: Consolidate atomic minmax helpers
|
||||||
|
* configure: Add target specific asm rule.
|
||||||
|
* configure: provide llvm_as helper variable
|
||||||
|
* r600: Add datalayout to image builtin implementation
|
||||||
|
* Remove redundant OVERRRIDES file
|
||||||
|
* configure: Provide symlink for amdgcn-mesa3d instead of configure hack
|
||||||
|
* travis: Check tahiti-amdgcn-mesa-mesa3d.bc
|
||||||
|
* amdgcn-amdhsa: Convert get_{global,local}_size to clc for all llvm versions
|
||||||
|
* amdgcn: Move __clc_amdgcn_s_waitcnt definition to clc file
|
||||||
|
* amdgcn: Convert get_num_groups to clc
|
||||||
|
* amdgcn: Convert get_global_size to clc
|
||||||
|
* amdgcn: Convert get_local_size to clc
|
||||||
|
* r600: Convert barrier to clc
|
||||||
|
* r600: Convert get_num_groups to clc
|
||||||
|
* r600: Convert get_global_size to clc
|
||||||
|
* r600: Convert get_local_size to clc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 12 01:55:46 UTC 2018 - jimmy@boombatower.com
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20180915:
|
||||||
|
* configure: Rework support for gfx9+ devices that were added post LLVM 3.9
|
||||||
|
* .travis: Add llvm-7 build
|
||||||
|
* .travis: Use source whitelist alias for llvm-6 repository
|
||||||
|
* amdgcn: Use __constant AS for amdgcn builtins.
|
||||||
|
* atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics
|
||||||
|
* atom: Consolidate cl_khr_{local,global}_int32_{base,extended}_atomics implementation
|
||||||
|
* atomic: Provide function implementation of atomic_{dec,inc}
|
||||||
|
* atom: Consolidate cl_khr_int64_{base,extended}_atomics declarations
|
||||||
|
* atom: Consolidate cl_khr_{local,global}_int32_{base,extended}_atomics declarations
|
||||||
|
* atomic: Cleanup atomic_cmpxchg header
|
||||||
|
* atomic: Move define cleanup to shared include
|
||||||
|
* Update copyright year to 2018.
|
||||||
|
* r600/fmin: Flush denormals before calling builtin.
|
||||||
|
* r600/fmax: Flush denormals before calling builtin.
|
||||||
|
* math/fma: Add fp32 software implementation
|
||||||
|
* Add initial support for half precision builtins
|
||||||
|
* rootn: Use denormal path only
|
||||||
|
* remquo: Flush denormals if not supported
|
||||||
|
* remquo: Port from amd builtins
|
||||||
|
* math: Add helper function to flush denormals if not supported.
|
||||||
|
* clc_sqrt: Reuse unary_decl.inc
|
||||||
|
* relational/select: Condition types for half are short/ushort, not char/uchar
|
||||||
|
* log10: Use sw implementation from amd builtins
|
||||||
|
* powr: Use denormal path only
|
||||||
|
* pown: Use denormal path only
|
||||||
|
* pow: Use denormal path only
|
||||||
|
* amdgcn/fmin: Fix typos that reduced precision
|
||||||
|
* exp10: Port from amd builtins
|
||||||
|
* hypot: Port from amd builtins
|
||||||
|
* select: simplify implementation and fix fp16
|
||||||
|
* fmod: Port from amd_builtins
|
||||||
|
* r600: Update datalayout after LLVM r328656
|
||||||
|
* amdgcn: Update datalayout after LLVM r328656
|
||||||
|
* remainder: Port from amd builtins
|
||||||
|
* nan: Implement
|
||||||
|
* travis: Add build using llvm-6
|
||||||
|
* amdgcn/fmax: fcanonicalize operands
|
||||||
|
* amdgcn/fmin: fcanonicalize operands
|
||||||
|
* amdgcn,popcount: Workaround broken llvm.ctpop intrinsic on some GCN ASICs
|
||||||
|
* integer/gentype: Add __CLC_VECSIZE macro
|
||||||
|
* popcount: Provide function implementation rather than intrinsic redirect
|
||||||
|
* lgamma_r: Move code from .inc to .cl file
|
||||||
|
* frexp: Reuse types provided by gentype.inc
|
||||||
|
* select: Add vector implementation
|
||||||
|
* minmag: Condition variable needs to be the same bitwidth as operands
|
||||||
|
* maxmag: Condition variable needs to be the same bitwidth as operands
|
||||||
|
* Move cl_khr_fp64 exntension enablement to gentype include lists
|
||||||
|
* utils: Adapt to llvm r325155
|
||||||
|
* amdgcn: Fix build after GDS/const AS swap in r325030
|
||||||
|
* amdgcn: Fix datalayout after addition of 32bit const AS in r324747
|
||||||
|
* r600: Fix datalayout after clang r324101
|
||||||
|
* amdgcn: Fix datalayout after clang r324101
|
||||||
|
* amdgpu/half_recip: Switch implementation to native_recip
|
||||||
|
* amdgpu/half_log2: Switch implementation to native_log2
|
||||||
|
* amdgpu/half_log10: Switch implementation to native_log10
|
||||||
|
* amdgpu/half_log: Switch implementation to native_log
|
||||||
|
* amdgpu/half_exp2: Switch implementation to native_exp2
|
||||||
|
* amdgpu/half_exp10: Switch implementation to native_exp10
|
||||||
|
* amdgpu/half_exp: Switch implementation to native_exp
|
||||||
|
* amdgpu/half_sqrt: Switch implementation to native_sqrt
|
||||||
|
* amdgpu/half_rsqrt: Switch implementation to native_rsqrt
|
||||||
|
* Add vstore_half_rte implementation
|
||||||
|
* Add vstore_half_rtp implementation
|
||||||
|
* Add vstore_half_rtn implementation
|
||||||
|
* Add vstore_half_rtz implementation
|
||||||
|
* vstore_half: Consolidate declarations
|
||||||
|
* vstore_half: Add support for custom rounding functions
|
||||||
|
* vstore_half: Make sure the helper function is always inline
|
||||||
|
* half_powr: Implement using powr
|
||||||
|
* math.h: Use logical operations instead of bit operations for readability
|
||||||
|
* math.h: Set HAVE_HW_FMA32 based on compiler provided macro
|
||||||
|
* tanpi: Port from amd_builtins
|
||||||
|
* tan: Port from amd_builtins
|
||||||
|
* half_divide: Implement using x/y
|
||||||
|
* half_tan: Implement using tan
|
||||||
|
* half_sin: Implement using sin
|
||||||
|
* half_recip: Implement using 1/x
|
||||||
|
* half_log2: Implement using log2
|
||||||
|
* half_log10: Implement using log10
|
||||||
|
* half_log: Implement using log
|
||||||
|
* half_exp10: Implement using exp10
|
||||||
|
* half_exp2: Implement using exp2
|
||||||
|
* half_exp: Implement using exp
|
||||||
|
* half_cos: Implement using cos
|
||||||
|
* half_sqrt: Cleanup implementation
|
||||||
|
* half_rsqrt: Cleanup implementation
|
||||||
|
* rootn: Port from amd_builtins
|
||||||
|
* powr: Port from amd_builtins
|
||||||
|
* pown: Port from amd_builtins
|
||||||
|
* pow: Port from amd_builtins
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 23 08:24:44 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20171127:
|
||||||
|
* configure.py: Add gfx900 (Vega, Raven)
|
||||||
|
* math: Implement minmag
|
||||||
|
* math: Implement maxmag
|
||||||
|
* native_powr: Switch implementation to native_exp2 and native_log2
|
||||||
|
* native_divide: provide function implementation instead of macro
|
||||||
|
* native_recip: provide function implementation instead of macro
|
||||||
|
* native_rsqrt: Switch implementation to 1 / native_sqrt
|
||||||
|
* native_tan: Switch implementation to use native_sin/native_cos
|
||||||
|
* math: Use precomputed constant for log2(10.0)
|
||||||
|
* native_exp10: Switch implementation to llvm intrinsic
|
||||||
|
* native_sqrt: Switch implementation to llvm intrinsic
|
||||||
|
* native_sin: Switch implementation to llvm intrinsic
|
||||||
|
* native_cos: Switch implementation to llvm intrinsic
|
||||||
|
* native_exp2: Switch implementation to llvm intrinsic
|
||||||
|
* native_exp: Switch implementation to llvm intrinsic
|
||||||
|
* amdgpu: Add workaround for unimplemented llvm.exp intrinsic
|
||||||
|
* native_log10: Switch to generic native intrinsic inc file
|
||||||
|
* native_log: Switch to generic native intrinsic inc file
|
||||||
|
* native_log2: Switch to generic native intrinsic inc file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 7 12:48:22 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20171102:
|
||||||
|
* tgamma: Use unary_decl instead of custom inc file
|
||||||
|
* tanh: Use unary_decl instead of custom inc file
|
||||||
|
* tan: Use unary_decl instead of custom inc file
|
||||||
|
* sqrt: Use unary_decl instead of custom inc file
|
||||||
|
* sinpi: Use unary_decl instead of custom inc file
|
||||||
|
* sinh: Use unary_decl instead of custom inc file
|
||||||
|
* sin: Use unary_decl instead of custom inc file
|
||||||
|
* native_log: Use unary_decl instead of custom inc file
|
||||||
|
* native_log2: Use unary_decl instead of custom inc file
|
||||||
|
* native_log10: Use unary_decl instead of custom inc file
|
||||||
|
* log: Use unary_decl instead of custom inc file
|
||||||
|
* logb: Use unary_decl instead of custom inc file
|
||||||
|
* log2: Use unary_decl instead of custom inc file
|
||||||
|
* log1p: Use unary_decl instead of custom inc file
|
||||||
|
* lgamma: Use unary_decl instead of custom inc file
|
||||||
|
* exp2: Use unary_decl instead of custom inc file
|
||||||
|
* cospi: Use unary_decl instead of custom inc file
|
||||||
|
* cosh: Use unary_decl instead of custom inc file
|
||||||
|
* cos: Use unary_decl instead of custom inc file
|
||||||
|
* cbrt: Use unary_decl instead of custom inc file
|
||||||
|
* atanpi: Use unary_decl instead of custom inc file
|
||||||
|
* atanh: Use unary_decl instead of custom inc file
|
||||||
|
* atan: Use unary_decl instead of custom inc file
|
||||||
|
* asinpi: Use unary_decl instead of custom inc file
|
||||||
|
* asinh: Use unary_dec instead of custom inc file
|
||||||
|
* asin: Use unary_decl instead of custom inc file
|
||||||
|
* acospi: Use unary_decl instead of custom inc file
|
||||||
|
* acosh: Use unary_decl instead of custom inc file
|
||||||
|
* acos: Use unary_decl instead of custom inc file
|
||||||
|
* math: Implement native_log10
|
||||||
|
* amdgpu/math: Don't use llvm instrinsic for native_log
|
||||||
|
* shared: Implement aligned vector stores (vstorea_half)
|
||||||
|
* shared: Implement aligned vector loads (vloada_half)
|
||||||
|
* amdgcn: Add missing datalayout info to .ll files
|
||||||
|
* r600: Add missing datalayout to .ll files
|
||||||
|
* travis: enable checks of nvptx libraries
|
||||||
|
* travis: Enable external function call checks on llvm-{4,5}
|
||||||
|
* Make image builtins r600/llvm-3.9 only
|
||||||
|
* Implement mem_fence on ptx
|
||||||
|
* Make ptx barrier work irrespective of the cl_mem_fence_flags
|
||||||
|
* travis: Make sure we report failure even if only earlier checked files fail
|
||||||
|
* check_external_calls.sh: Print number of calls in tested file.
|
||||||
|
* ptx: Use __clc_nextafter to implement nextafter
|
||||||
|
* Do not include clc_nextafter header globally
|
||||||
|
* math/nextafter: Use custom declaration inc file
|
||||||
|
* math/binary_decl.inc: Do not declare mixed float/double functions
|
||||||
|
* ldexp: Fix double precision function return type
|
||||||
|
* configure: Fix handling of directories with compats only source lists
|
||||||
|
* Add vload_half helpers for ptx
|
||||||
|
* Add vstore_half helpers for ptx
|
||||||
|
* integer/sub_sat: Use clang builtin instead of llvm asm
|
||||||
|
* integer/add_sat: Use clang builtin instead of llvm asm
|
||||||
|
* integer/clz: Use clang builtin instead of llvm asm
|
||||||
|
* Let get_work_dim take exactly 0 arguments
|
||||||
|
* Do no circularly define NULL
|
||||||
|
* Fix amdgcn-amdhsa on llvm-3.9
|
||||||
|
* travis: Check built libraries on llvm-3.9
|
||||||
|
* Add script to check for unresolved function calls
|
||||||
|
* geometric: geometric functions are only supported for vector lengths <=4
|
||||||
|
* travis: add build using llvm-3.9
|
||||||
|
* Restore support for llvm-3.9
|
||||||
|
* Add missing HAVE_LLVM define to fix build with latest llvm
|
||||||
|
* Rework atomic ops to use clang builtins rather than llvm asm
|
||||||
|
* prepare_builtins: Fix compile breakage with older LLVM
|
||||||
|
* [Support] Rename tool_output_file to ToolOutputFile, NFC
|
||||||
|
- Use python3 for building
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 21 03:02:31 UTC 2017 - jimmy@boombatower.com
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20170920:
|
||||||
|
* generic: add missing get_work_dim include
|
||||||
|
* add __kernel_exec macros
|
||||||
|
* configure.py: Make python3 friendly
|
||||||
|
* configure.py: Drop explicit import of int builtin
|
||||||
|
* amdgcn: Implement {read_,write_,}mem_fence builtin
|
||||||
|
* amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier
|
||||||
|
* Add halfN types and enable fp16 when generating builtin declarations
|
||||||
|
* relational: Implement shuffle builtin
|
||||||
|
* relational: Implement shuffle2 builtin
|
||||||
|
* Fixup clc.h comment
|
||||||
|
* r600: Cleanup barrier implementation.
|
||||||
|
* amdgcn,waitcnt: Add datalayout info
|
||||||
|
* configure.py: Simplify compatibility sources
|
||||||
|
* vstore: Cleanup and add vstore(half)
|
||||||
|
* Implement vload_half{,n} and vload(half)
|
||||||
|
* integer: Add popcount implementation using ctpop intrinsic
|
||||||
|
* Add native_recip(x) as ((1)/(x))
|
||||||
|
* Add travis CI configuration file
|
||||||
|
* Implement cl_khr_int64_base_atomics builtins
|
||||||
|
* Implement cl_khr_int64_extended_atomics builtins
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 12 19:37:03 UTC 2017 - jimmy@boombatower.com
|
||||||
|
|
||||||
|
- Update rpmlintrc to include both lib dir .pc files.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 10 15:44:21 UTC 2017 - jimmy@boombatower.com
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20170225:
|
||||||
|
* Fix build since llvm r286566 and require at least llvm 4.0
|
||||||
|
* Fix build since r286752.
|
||||||
|
* math: Add expm1 builtin function
|
||||||
|
* math: Add logb builtin
|
||||||
|
* math: Add native_rsqrt builtin function
|
||||||
|
* Add the correct prefixes to the cl_khr_fp64 pragma
|
||||||
|
* Move BufferPtr into the block where it it being used
|
||||||
|
* math: Add native_tan as wrapper to tan
|
||||||
|
* .gitignore: Ignore amdgcn-mesa object directory
|
||||||
|
* math: Implement sinh function
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 25 17:24:10 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20160921:
|
||||||
|
* Avoid ambiguity in calling atom_add functions.
|
||||||
|
* Replace nextafter implementation
|
||||||
|
* Add ADDR_SPACE parameter to _CLC_V_V_VP_VECTORIZE
|
||||||
|
* math: Implement lgamma_r
|
||||||
|
* math: Implement lgamma
|
||||||
|
* math: Implement tgamma
|
||||||
|
* amdgcn-amdhsa: Add get_global_size() implementation
|
||||||
|
* amdgcn-amdhsa: Add get_num_groups implementation
|
||||||
|
* configure: Add amdgcn-mesa-mesa3d target
|
||||||
|
* Provide vstore_half helper to workaround clc restrictions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 03 08:32:55 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.2.0+git.20160209:
|
||||||
|
* integer: remove explicit casts from _MIN definitions
|
||||||
|
* AMDGPU: Add alias for tonga
|
||||||
|
* AMDGPU: Add aliases for all VI targets
|
||||||
|
* Add _CLC_V_V_VP_VECTORIZE macro
|
||||||
|
* Implement modf math builtin
|
||||||
|
* math: Add frexp ported from amd-builtins
|
||||||
|
* math: Fix log2 vectorization on non-fp64 hw
|
||||||
|
* configure: Introduce per device defines
|
||||||
|
* configure: Remove cl_khr_fp64 for device that don't support doubles
|
||||||
|
* configure: Remove llvm 3.6 defines
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 17 10:00:57 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- fix license according to legal team
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 17 10:00:44 UTC 2015 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- modify license to 'BSD-3-Clause or MIT'
|
||||||
|
- added LICENSE.TXT file to %doc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 9 17:37:18 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Remove unnecessary ldconfig calls
|
||||||
|
- Rename rpmlintrc to libclc-rpmlintrc
|
||||||
|
- Minor spec file cleanup
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 8 11:00:01 UTC 2015 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- used BSD-3-Clause instead of BSD-2-Clause in order to make our
|
||||||
|
legal team happy
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 7 13:49:34 UTC 2015 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- added rpmlintrc as source to specfile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 2 07:39:37 UTC 2015 - jimmy@boombatower.com
|
||||||
|
|
||||||
|
- Remove devel package in favor of main package since libclc is
|
||||||
|
unusable without the header files used to compile OpenCL
|
||||||
|
applications against.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 30 07:29:46 UTC 2015 - jimmy@boombatower.com
|
||||||
|
|
||||||
|
- Merge home:X0F:HSF spec changes.
|
||||||
|
- Set _service file to static revisions in lieu of tags.
|
||||||
|
- Major cleanup of spec file.
|
||||||
|
- Apply spec-cleaner.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 3 00:00:00 UTC 2012 - pontostroy@gmail.com
|
||||||
|
|
||||||
|
- initial package
|
104
libclc.keyring
Normal file
104
libclc.keyring
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQGNBGLtemUBDADClvDIromq0Y4TX+wyRyYCq5WusPQheQuY8dVCXd9KhMpYAv8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i/yxNm1Pk84NVGTLXWW0+CwT9cRwWn5foIPJhoDdZ732zJ7rcY3R
|
||||||
|
g71SJTe3R6MnGBzIF1LzT7Znwkh7YfcmeTfInareIWXpeNaeKy8KrQmr/0+5AIer
|
||||||
|
Ax1gu03o8GD5LFDUuGbESgDJU6nVtVyht7C6AlJWqSX6QS3+lPCw5BOCKbxakYNR
|
||||||
|
/oBNauzyDISdbUwzHM2d+XGCjBsXKRA0Tft2NlG6EC83/PuY2J9MSA2gg3iPHsiN
|
||||||
|
J5iipbdZNpZ3XL0l8/t/7T60nM7UZDqt3twLMA0eRFRlCnhMjvFE5Zgj5DE7BsJh
|
||||||
|
w2nCoGWkAcfeuih+jfyEjN24NK+sE/bM+krwVv430ewJwm1bVUqKrbOb9aa6V9gP
|
||||||
|
9RmlwZlOTFGcWBYl/cfRONn9qi9a6w==
|
||||||
|
=Lvw+
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQINBFrqgT0BEAC7xo0WH+eNrLlU5LrCk59KmImn1abFcmWNd8kYr5XfqmJKyVqo
|
||||||
|
EY7A/yRjf+Yn1621EDkpKPjbql7q7MlZMpqKVdOWKWgmhvz08IOKJxaIABd/iIRT
|
||||||
|
FwhIvB68YjtmzcoOJRi1wLnwuG55fJ9E69HyZ33jgAlRaWV3bE/YyszoTlZriUOE
|
||||||
|
RbzC5WzX004cE9evlrr+YLt5Y6z7tntOdSXPLyGOFAO5LYMsHsEdi2JBYWrjlslG
|
||||||
|
6iJr5iEt9v442PrJ79YYbu5QWe/6APRWtI3AtKBp7y250oon2lbj+bIVD7U9fOBB
|
||||||
|
n/Frqx54UN22sJycET63hgYW4pIjIi5zq+FF15aU+ZqBdtNltoX4hEN7wlDpuNc0
|
||||||
|
ezVu2Z8hdt8thpjiFUioTQ1t3RmsN6N548VwxmHdoYpAmiZqPIYBYvm85JB7S/3h
|
||||||
|
RLuoeGxufBhXGCpnG8ghTOGtbbdanuLB/UROFXTdyZbTCBN5S6jvwkPSaHG7H35Z
|
||||||
|
3fazMriTXwL1RGAbKITSWhDe5dXy/yOInWe8emJx+35vwQYCB2L4S8wRyQyRw6x4
|
||||||
|
YoXCscW041DUMBX2CC7SjMCcmAC39UX1c3GbTpS3rkJR9cmXt50nviMnKpIwlIPd
|
||||||
|
ZYhmxKifwTJ70+c4GVK2o0MG9bTYvpYhLnYxv6iJCfgmT40E+qkDSzSoZwARAQAB
|
||||||
|
tCJUb20gU3RlbGxhcmQgPHRzdGVsbGFyQHJlZGhhdC5jb20+iQI/BBMBAgApBQJa
|
||||||
|
6oE9AhsDBQkB4TOABwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AACgkQoseUqYZB
|
||||||
|
nYp8Gg//RmX6Nup/Dv05jTL7dKRBSD08MF400tRtTmRhIuAgGv27qO2hbqzprKVu
|
||||||
|
vd20vKBB9CNZpXC2oY8k9VhGv2PZNi/X7iuULIYmzjeFMbJ5CjU6XvuUBmNasITH
|
||||||
|
6K/0KLhGebPs5h/DNtd7lbzDm86dLcjxgl6LXUULaSyYvTAKn6YB6mAv5J3qJs2X
|
||||||
|
lfTmenNh9p7TPFTfcMHcS70ywjqKXlDiH0q9bRKJnSX7xUFlTHjKkNnAcRjlPaGf
|
||||||
|
wUUhIPrnpDboqfwfcmScLrHANW9nwFWSFkNAJu1HQUEuF+An/RZUHDxFbLPKKAIp
|
||||||
|
hwZ0aORTfBVZ80AjehDMYCbmp1DJeTyLjC1/94un6mlxPIKnPPPM8rMxr83xnrvP
|
||||||
|
+Y1+pJaDUL7ZvKnmt2LrGRa9GvsNiYKpCNCORfiwZTeSxxXb+LgaodnbCHvGBnk7
|
||||||
|
nlbLdMY08vNlxSx8LNyG0krFxJw/rq260+73yc+qjENeG68fozTEy/4jSVrF4t3m
|
||||||
|
8AAUu5r6i/Aomo7Q27TjU928bbCVunpvDpserfDqr3zsA96LO9k8T6THR6zC9i+R
|
||||||
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FOS9U2ZQ6TxrPaCSIm6+j8f+a9HPOuuDc62mMuV/EWQZy0i7
|
||||||
|
DhDqU2PNpVjQDWQNpHA8oLDrjNFAoJS8gbHABVsFM1VnwBNT2MKcZQmm05dlQ+ll
|
||||||
|
S6meHNCvTniKIKC+Giz1Yd5JVGDACZWWPxEz6VhpQW/twkxRqwlUdpFt7UgDquTL
|
||||||
|
M1beQUCZRt81yJTNdrggbhQ2POxOdIO0CPiQv7U1IzndZp6baedeBw4a7FCbj6GY
|
||||||
|
cQeHxQCrWpQrwigiseG5uhhS9aiaVFEHja9baSLfXlZu/vsR4MdDG5/iEpier/Xw
|
||||||
|
h1qnpTSY+r31Uw3lTUlPHzlg47PMgPslaIhCzfVggxh9bTqxcDbuYJ7NuoMho3tN
|
||||||
|
yWfeofTJ7PhKzoXM2Y/rRFoM5gNh1RVA19ngLT5Jwiof8fPZvHJ/9ZkHn+O7eMNm
|
||||||
|
m5++gYza3pnn2/PoGpGGAKok+sfJiq5Tb7RUefyJTeZiyTZ/XJrA
|
||||||
|
=tMzl
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
82
libclc.spec
Normal file
82
libclc.spec
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libclc
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define _libclc_llvm_ver 17.0.1
|
||||||
|
%define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
|
||||||
|
%define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
|
||||||
|
|
||||||
|
Name: libclc
|
||||||
|
Version: 0.2.0+llvm%{_libclc_llvm_ver}%{?_rc:~rc%_rc}
|
||||||
|
Release: 0
|
||||||
|
Summary: OpenCL C programming language library
|
||||||
|
License: Apache-2.0 WITH LLVM-exception AND (BSD-3-Clause OR MIT)
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: https://libclc.llvm.org/
|
||||||
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_tagver}/%{name}-%{_version}.src.tar.xz
|
||||||
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_tagver}/%{name}-%{_version}.src.tar.xz.sig
|
||||||
|
Source100: %{name}-rpmlintrc
|
||||||
|
Source101: https://releases.llvm.org/release-keys.asc#/%{name}.keyring
|
||||||
|
BuildRequires: cmake
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
BuildRequires: clang-devel
|
||||||
|
BuildRequires: llvm-devel
|
||||||
|
BuildRequires: pkgconfig(LLVMSPIRVLib)
|
||||||
|
%else
|
||||||
|
%if 0%{?sle_version} >= 150600
|
||||||
|
BuildRequires: clang17-devel
|
||||||
|
BuildRequires: llvm17-devel
|
||||||
|
%else
|
||||||
|
%if 0%{?sle_version} >= 150500
|
||||||
|
BuildRequires: clang15-devel
|
||||||
|
BuildRequires: llvm15-devel
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
BuildRequires: python3-base
|
||||||
|
Provides: libclc(llvm%{_llvm_sonum})
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Library requirements of the OpenCL C programming language.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n libclc-%{_version}.src
|
||||||
|
|
||||||
|
%build
|
||||||
|
# The libraries are bitcode files, so LTO is neither supported nor does it help.
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
|
%cmake \
|
||||||
|
-DCMAKE_C_COMPILER=clang \
|
||||||
|
-DCMAKE_CXX_COMPILER=clang++ \
|
||||||
|
%if 0%{?suse_version} < 1550
|
||||||
|
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl" \
|
||||||
|
%endif
|
||||||
|
-DENABLE_RUNTIME_SUBNORMAL:BOOL=ON
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.TXT
|
||||||
|
%{_includedir}/clc
|
||||||
|
%{_datadir}/clc
|
||||||
|
%{_datadir}/pkgconfig/libclc.pc
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user