Package: pocl / 1.6-5

Metadata

Package Version Patches format
pocl 1.6-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 fix build on hurd i386.patch | (download)

lib/CL/pocl_timing.c | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 [patch 01/10] fix build on hurd-i386


0002 link against single shared libclang cpp when buildin.patch | (download)

cmake/LLVM.cmake | 6 3 3 - 0 !
1 file changed, 3 insertions( ), 3 deletions(-)

 [patch 02/10] link against single shared libclang-cpp when building
 with llvm 9, too


0003 rename stderr_is_a_tty to pocl_stderr_is_a_tty.patch | (download)

lib/CL/devices/devices.c | 2 1 1 - 0 !
lib/CL/pocl_debug.c | 18 9 9 - 0 !
lib/CL/pocl_debug.h | 4 2 2 - 0 !
3 files changed, 12 insertions( ), 12 deletions(-)

 [patch 03/10] rename stderr_is_a_tty to pocl_stderr_is_a_tty


0004 rename fill_dev_ _t to pocl_fill_dev_ _t.patch | (download)

lib/CL/devices/basic/basic.c | 4 2 2 - 0 !
lib/CL/devices/common.c | 6 3 3 - 0 !
lib/CL/devices/common.h | 6 3 3 - 0 !
lib/CL/devices/pthread/pthread_utils.c | 4 2 2 - 0 !
4 files changed, 10 insertions( ), 10 deletions(-)

 [patch 04/10] rename fill_dev_*_t to pocl_fill_dev_*_t


0005 handle dlsym error on device library.patch | (download)

lib/CL/devices/devices.c | 16 14 2 - 0 !
1 file changed, 14 insertions( ), 2 deletions(-)

 [patch 05/10] handle dlsym error on device library


0006 check whether libpocl and the device libraries can b.patch | (download)

tests/CMakeLists.txt | 35 35 0 - 0 !
tests/runtime/CMakeLists.txt | 4 4 0 - 0 !
tests/runtime/test_dlopen.c | 63 63 0 - 0 !
3 files changed, 102 insertions( )

 [patch 06/10] check whether libpocl and the device libraries can be
 dlopen()ed


0007 drop redundant include.patch | (download)

lib/CL/pocl_debug.h | 4 0 4 - 0 !
1 file changed, 4 deletions(-)

 [patch 07/10] drop redundant #include


0008 drop unused global variable pocl_num_device_types.patch | (download)

lib/CL/devices/devices.c | 1 0 1 - 0 !
1 file changed, 1 deletion(-)

 [patch 08/10] drop unused global variable pocl_num_device_types


0009 regroup workgroup tests and add missing dependencies.patch | (download)

examples/vecadd/CMakeLists.txt | 4 3 1 - 0 !
tests/workgroup/CMakeLists.txt | 50 26 24 - 0 !
2 files changed, 29 insertions( ), 25 deletions(-)

 [patch 09/10] regroup workgroup tests and add missing dependencies on
 pocl_version_check


0010 minor cleanup.patch | (download)

cmake/LLVM.cmake | 1 1 0 - 0 !
lib/CL/devices/devices.h | 1 0 1 - 0 !
lib/CL/pocl_cache.c | 2 1 1 - 0 !
3 files changed, 2 insertions( ), 2 deletions(-)

 [patch 10/10] minor cleanup


0011 add include pocl_export.h for new macro POCL_EXPORT.patch | (download)

include/pocl_export.h | 33 33 0 - 0 !
1 file changed, 33 insertions( )

 [patch 11/13] add include/pocl_export.h for new macro pocl_export


0012 add POCL_EXPORT decorations.patch | (download)

include/pocl.h | 2 2 0 - 0 !
lib/CL/devices/common.h | 12 12 0 - 0 !
lib/CL/devices/cpuinfo.h | 1 1 0 - 0 !
lib/CL/devices/devices.h | 1 1 0 - 0 !
lib/CL/devices/pocl_local_size.h | 1 1 0 - 0 !
lib/CL/devices/prototypes.inc | 1 1 0 - 0 !
lib/CL/devices/topology/pocl_topology.h | 1 1 0 - 0 !
lib/CL/pocl_debug.h | 7 7 0 - 0 !
lib/CL/pocl_llvm.h | 1 1 0 - 0 !
lib/CL/pocl_llvm_api.h | 1 1 0 - 0 !
lib/CL/pocl_runtime_config.h | 4 4 0 - 0 !
lib/CL/pocl_util.h | 12 12 0 - 0 !
12 files changed, 44 insertions( )

 [patch 12/13] add pocl_export decorations

this is the minimal set needed for building the basic and pthread
devices with -fvisibility=hidden

0013 add VISIBILITY_HIDDEN cmake option.patch | (download)

CMakeLists.txt | 6 6 0 - 0 !
1 file changed, 6 insertions( )

 [patch 13/13] add visibility_hidden cmake option

to allow building with -fvisibility=hidden -fvisibility-inlines-hidden

1014 add POCL_EXPORT to additional symbols needed by the .patch | (download)

include/pocl_cache.h | 1 1 0 - 0 !
include/pocl_file_util.h | 2 2 0 - 0 !
lib/CL/pocl_intfn.h | 2 2 0 - 0 !
lib/CL/pocl_llvm.h | 1 1 0 - 0 !
lib/CL/pocl_runtime_config.h | 1 1 0 - 0 !
lib/CL/pocl_timing.h | 3 3 0 - 0 !
lib/CL/pocl_util.h | 1 1 0 - 0 !
7 files changed, 11 insertions( )

 [patch 14/14] add pocl_export to additional symbols needed by the
 cuda device


skip subdevice tests on single core cpus.patch | (download)

examples/EinsteinToolkit/CMakeLists.txt | 1 1 0 - 0 !
examples/EinsteinToolkit/EinsteinToolkit.c | 10 10 0 - 0 !
tests/runtime/CMakeLists.txt | 6 5 1 - 0 !
tests/runtime/test_clCreateSubDevices.c | 2 1 1 - 0 !
4 files changed, 17 insertions( ), 2 deletions(-)

 skip subdevice tests on (virtual) single core cpus


test_printf.patch | (download)

tests/kernel/CMakeLists.txt | 5 5 0 - 0 !
1 file changed, 5 insertions( )

 hack! kernel/test_printf fails on i686
 #
test_structs_as_args.patch | (download)

tests/regression/CMakeLists.txt | 5 5 0 - 0 !
1 file changed, 5 insertions( )

 hack! regression/struct_kernel_arguments fails on i686
 141/143 Test  #85: regression/struct_kernel_arguments ..................................................***Failed  Error regular expression found in output. Regex=[FAIL]  4.58 sec
 CMake Error at /build/pocl-1.4/cmake/run_test.cmake:34 (message):
  FAIL: Test exited with nonzero code (1):
  /build/pocl-1.4/obj-i686-linux-gnu/tests/regression/test_structs_as_args

  STDOUT:

  F(4: 0 != 5) F(5: -2147483648 != 6) F(6: 0 != 7) F(7: 0 != 8)

  STDERR:



 -- OK
Bug: https://github.com/pocl/pocl/issues/801
generic cpu.patch | (download)

cmake/LLVM.cmake | 12 10 2 - 0 !
lib/CL/devices/common.c | 3 3 0 - 0 !
lib/CL/pocl_llvm_build.cc | 2 1 1 - 0 !
lib/kernel/host/CMakeLists.txt | 5 5 0 - 0 !
4 files changed, 19 insertions( ), 3 deletions(-)

 add support for a generic cpu type that uses llvm defaults
distro.patch | (download)

CMakeLists.txt | 6 6 0 - 0 !
lib/kernel/host/CMakeLists.txt | 4 2 2 - 0 !
2 files changed, 8 insertions( ), 2 deletions(-)

 tune distro mode
verbose.patch | (download)

cmake/LLVM.cmake | 4 4 0 - 0 !
1 file changed, 4 insertions( )

 dump some cmake information
2001 add testcase for Debian bug 975931.patch | (download)

tests/regression/CMakeLists.txt | 3 3 0 - 0 !
tests/regression/test_llvm_segfault_debian_bug_975931.cpp | 173 173 0 - 0 !
2 files changed, 176 insertions( )

 [patch] add testcase for debian bug #975931


2003 restore setting unroll threshold on LLVM 9.patch | (download)

lib/CL/pocl_llvm_utils.cc | 6 6 0 - 0 !
1 file changed, 6 insertions( )

 [patch] restore setting unroll-threshold on llvm 9

otherwise kernel/test_rotate hangs on avx512 capable cpus

(this partially reverts 459d0bb5241a62af3b5b607a65dcf5e9a34a01ee)

timeout.patch | (download)

cmake/run_test.cmake | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 kill hanging tests after 30 minutes


use system CL headers.patch | (download)

include/CMakeLists.txt | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 we move the embedded copy aside to use system cl headers
1001 stop building libllvmopencl.so which is no longer us.patch | (download)

CMakeLists.txt | 2 1 1 - 0 !
lib/llvmopencl/CMakeLists.txt | 36 0 36 - 0 !
2 files changed, 1 insertion( ), 37 deletions(-)

 [patch] stop building libllvmopencl.so which is no longer used since
 0.14