SHA256
1
0
forked from pool/pocl
Commit Graph

19 Commits

Author SHA256 Message Date
b416bd3511 Accepting request 607653 from home:mimi_vx:branches:science
- remove lib subpackage - part of libs isnt clearly versioned

OBS-URL: https://build.opensuse.org/request/show/607653
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=34
2018-05-15 17:43:11 +00:00
Ismail Dönmez
90ac70aa6e Accepting request 589772 from home:mnhauke:opencl:stable
- Update to version 1.1
  * Support for LLVM/Clang 6.0 and 5.0.
  * Experimental SPIR and SPIR-V support
  * Improved kernel compilation speed
- Several tests have problems on some OBS workers while the same
  tests run perfectly fine in a local chroot.
  Disable tests for now. 

- Create subpackage for the shared library
- Run tests after the build

OBS-URL: https://build.opensuse.org/request/show/589772
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=33
2018-03-29 08:42:43 +00:00
Martin Hauke
6c7efe3f2b Accepting request 571473 from home:michalsrb:branches:science
- Remove dependency on clang-devel-static. (bnc#1065464)
  * It was removed, clang-devel now again provides everything
    necessary as shared libraries.

OBS-URL: https://build.opensuse.org/request/show/571473
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=31
2018-01-31 19:32:30 +00:00
Klaus Kämpf
36d900419b Accepting request 558673 from home:mnhauke:opencl:stable
- Update to version 1.0
- Remove patch:
  * pocl-disable-tests.diff
- Disable CUDA backend since it depends on CUDA_TOOLKIT which is
  not available in Factory

old: science/pocl
new: home:mnhauke:opencl:stable/pocl rev None
Index: pocl.changes
===================================================================
--- pocl.changes (revision 28)
+++ pocl.changes (revision 9)
@@ -1,4 +1,46 @@
 -------------------------------------------------------------------
+Tue Dec 19 18:44:43 UTC 2017 - mardnh@gmx.de
+
+- Update to version 1.0
+  Highlights
+  * Improved automatic local work-group sizing on kernel enqueue, taking
+    into account standard constraints, SIMD width for vectorization as
+    well as the number of compute units available on the device.
+  * Support for NVIDIA GPUs via a new CUDA backend (currently experimental).
+  * Removed support for BBVectorizer.
+  * LLVM 5.0 is now supported.
+  * A few build options have been added for distribution builds,
+    see README.packaging.
+  * Somewhat improved scalability in the CPU driver. CPUs with many cores
+    and programs using a lot of WIs with small kernels can run somewhat faster.
+  * Full conformance with OpenCL 1.2 standard, enabled by default. There are
+    some caveats though - see the documentation.
+  * When conformance is enabled, some kernel library functions might be
+    slower than in previous releases.
+  * Pocl now reports OpenCL 1.2 instead of 2.0, except HSA enabled builds.
+  * Updated format of pocl binaries, which is NOT backwards compatible.
+  * You'll need to clean any kernel caches.
+  * Fixed several memory leaks.
+  * Unresolved symbols (missing/misspelled functions etc) in a kernel will
+    result in error in clBuildProgram() instead of pocl silently ignoring
+    them and then aborting at dlopen().
+  * New env variable POCL_MEMORY_LIMIT=N limits the Global memory size
+    reported by pocl to N gigabytes.
+  * New env variable POCL_AFFINITY (defaults to 0): if enabled, sets
+    the affinity of each CPU driver pthread to a single core.
+  * Improved AVX512 support (with LLVM 5.0). Note that even with LLVM 5.0
+    there are still a few bugs (see pocl issue #555); AVX512 + LLVM 4.0 are
+    a lot more broken, and probably not worth trying.
+  * POCL_DEBUG env var has been revamped. You can now limit debuginfo to
+    these categories (or their combination): all,error,warning,general
+    memory,llvm,events,cache,locking,refcounts,timing,hsa,tce,cuda
+  * The old setting POCL_DEBUG=1 now equals error+warning+general.
+- Remove patch:
+  * pocl-disable-tests.diff
+- Disable CUDA backend since it depends on CUDA_TOOLKIT which is
+  not available in Factory
+
+-------------------------------------------------------------------
 Thu Oct 26 14:13:18 UTC 2017 - mpluskal@suse.com
 
 - Simplify spec file a bit
Index: pocl.spec
===================================================================
--- pocl.spec (revision 28)
+++ pocl.spec (revision 9)
@@ -17,9 +17,9 @@
 #
 
 
-%define sover  1.7.0
+%define sover  2.0.0
 Name:           pocl
-Version:        0.14
+Version:        1.0
 Release:        0
 Summary:        Portable Computing Language - an OpenCL implementation
 # The whole code is under MIT
@@ -30,7 +30,6 @@
 Url:            http://portablecl.org/
 Source0:        http://portablecl.org/downloads/%{name}-%{version}.tar.gz
 Source99:       pocl-rpmlintrc
-Patch0:         pocl-disable-tests.diff
 BuildRequires:  clang
 BuildRequires:  clang-devel
 BuildRequires:  clang-devel-static
@@ -84,12 +83,11 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %define __builder ninja
 %cmake \
-  -DENABLE_CUDA=1 \
+  -DENABLE_CUDA=0 \
   -DENABLE_ICD=1 \
   -DPOCL_INSTALL_ICD_VENDORDIR=%{_sysconfdir}/OpenCL/vendors \
   -DCMAKE_C_COMPILER=clang  \
@@ -124,9 +122,9 @@
 %dir %{_sysconfdir}/OpenCL/vendors
 %{_sysconfdir}/OpenCL/vendors/pocl.icd
 %{_bindir}/poclcc
-%{_libdir}/libpocl.so.1
+%{_libdir}/libpocl.so.2
 %{_libdir}/libpocl.so.%{sover}
-%{_libdir}/libpoclu.so.1
+%{_libdir}/libpoclu.so.2
 %{_libdir}/libpoclu.so.%{sover}
 %{_libdir}/pocl/
 %{_datadir}/pocl/
Index: pocl-1.0.tar.gz
===================================================================
Binary file pocl-1.0.tar.gz (revision 9) added
Index: pocl-0.14.tar.gz
===================================================================
Binary file pocl-0.14.tar.gz (revision 28) deleted
Index: pocl-disable-tests.diff
===================================================================
--- pocl-disable-tests.diff (revision 28)
+++ pocl-disable-tests.diff (deleted)
@@ -1,19 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 18d36e7..3c20763 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1000,10 +1000,10 @@ message(STATUS "POCLU LINK OPTS: ${POCLU_LINK_OPTIONS}")
- # poclcc bin
- add_subdirectory("bin")
- 
--if (OCS_AVAILABLE)
--  add_subdirectory("tests")
--  add_subdirectory("examples")
--endif()
-+#if (OCS_AVAILABLE)
-+#  add_subdirectory("tests")
-+#  add_subdirectory("examples")
-+#endif()
- 
- add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} ${COMMAND_USES_TERMINAL})
-

OBS-URL: https://build.opensuse.org/request/show/558673
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=29
2017-12-20 09:36:25 +00:00
Martin Hauke
a0f69e859e Accepting request 536898 from home:pluskalm:branches:science
- Simplify spec file a bit
- Enable CUDA backend
- Enable all available cpu specific kernels for intel platform

OBS-URL: https://build.opensuse.org/request/show/536898
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=27
2017-10-26 14:49:42 +00:00
Martin Hauke
55f398c898 Accepting request 535638 from home:pluskalm:branches:science
- We need clang4-devel-static to build with current clang packaging
- Small spec-file cleanup
  * drop conditionals for older releases then Factory as building
    was not possible anyways

OBS-URL: https://build.opensuse.org/request/show/535638
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=25
2017-10-21 08:52:56 +00:00
Martin Hauke
32a8f6b8d2 Accepting request 509735 from home:jengelh:branches:science
- Description should say what it is, not what it plans in the
  future.

OBS-URL: https://build.opensuse.org/request/show/509735
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=23
2017-07-12 15:14:47 +00:00
Ismail Dönmez
6d0696c9aa Accepting request 508962 from home:mnhauke:opencl:stable
- Fix runtime linking issues (missing crtbeginS.so)
  - Require gcc for Factory

OBS-URL: https://build.opensuse.org/request/show/508962
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=22
2017-07-11 12:26:40 +00:00
Ismail Dönmez
2a04ff0f0a Accepting request 507938 from home:mnhauke:opencl:stable
- Fix path in the ICD-file

OBS-URL: https://build.opensuse.org/request/show/507938
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=20
2017-07-04 07:58:23 +00:00
Ismail Dönmez
bd426cbd3d - Update library name for uthash -> libut2
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=18
2017-05-19 08:49:48 +00:00
Ismail Dönmez
e17250d6ea Accepting request 495724 from home:mnhauke:opencl:stable
- Update to 0.14
  - Support for LLVM/Clang versions 3.9 and 4.0. Version 3.9 was the first
    release to include all frontend features for OpenCL 2.0.
  - Ability to build pocl in a mode where online compilation is not
    supported to run in hosts without LLVM and binaries compiled offline
    e.g. using poclcc.
  - pocl's binary format now can contain all the necessary bits to
    execute the programs on a host without online compiler support.
  - Initial support for out-of-order execution execution of command queues.
  - It's now possible to cross-compile pocl when building an offline
    compiler build.
  - New driver api extension to support out-of-order and asynchronous
    devices/drivers.
  - Pthread and HSA drivers are now fully asynchronous.
  - CMake now the only supported build system, autotools removed.
  - LTTng tracing support
- Add patches:
  - pocl-disable-tests.diff
    - compilation errors on some tests disable tests for now
- Remove patches:
  - 0001-Fixes-357-broken-build-with-GCC-6.1.patch
    - fixed upstream

OBS-URL: https://build.opensuse.org/request/show/495724
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=17
2017-05-18 08:29:48 +00:00
Martin Hauke
6ad6b7b9d1 Accepting request 454136 from home:adamm:branches:devel:libraries:c_c++
- use individual libboost-*-devel packages instead of boost-devel

OBS-URL: https://build.opensuse.org/request/show/454136
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=16
2017-02-06 17:45:06 +00:00
Ismail Dönmez
0ca2389bb7 Accepting request 451559 from home:pluskalm:branches:science
- Use llvm3_8 for building and as runtime dependency

OBS-URL: https://build.opensuse.org/request/show/451559
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=14
2017-01-20 09:04:04 +00:00
Martin Hauke
f667c3481a Accepting request 433980 from home:pluskalm:branches:science
- Use cmake macros
- Use ninja to speedup building

OBS-URL: https://build.opensuse.org/request/show/433980
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=12
2016-10-09 18:20:32 +00:00
Matthias Mailänder
b8c69dda68 Accepting request 406457 from home:mnhauke:branches:science
- Add patch: 0001-Fixes-357-broken-build-with-GCC-6.1.patch
  * Fix build with GCC 6.x

OBS-URL: https://build.opensuse.org/request/show/406457
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=9
2016-07-04 19:15:29 +00:00
Martin Hauke
9e05584cff Accepting request 384336 from home:pluskalm:branches:science
- Update to 0.13
  * kernel compiler support for LLVM/Clang 3.8
  * initial (partial) OpenCL 2.0 support
  * CMake build system almost on parity with autotools
  * Improved HSA support
  * Other optimizations and bug fixes

OBS-URL: https://build.opensuse.org/request/show/384336
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=7
2016-04-05 14:03:01 +00:00
Dmitry Roshchin
9c962ad7ab Accepting request 341067 from home:mnhauke:opencl:stable
update to version 0.12

OBS-URL: https://build.opensuse.org/request/show/341067
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=5
2015-10-26 21:54:13 +00:00
Dmitry Roshchin
1692272803 Accepting request 314751 from home:dec16180:ldig:branches:science
license update: MIT
overall license is MIT, other licenses refere to build scripts only.

OBS-URL: https://build.opensuse.org/request/show/314751
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=3
2015-07-01 19:06:29 +00:00
Matthias Mailänder
0c9543f837 Accepting request 311488 from home:mnhauke:opencl:stable
import pocl 0.11 to science:pocl

OBS-URL: https://build.opensuse.org/request/show/311488
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=1
2015-06-10 18:42:22 +00:00