[PATCH 39/42] allow overriding kernellib_name for distro builds with POCL_KERNELLIB_NAME
the kernellib_name (and corresponding llvm_cpu) can be overridden
to a target with a subset of the features supported by the current cpu
this will allow running e.g. code generation and tests for sse2 (but no
newer features) on a modern cpu
Gbp-Pq: Name 0039-allow-overriding-kernellib_name-for-distro-builds-wi.patch
[PATCH 3/4] fix test_structs_as_args on i386
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
on i386, the default alignment is 4 for 64-bit types, too
the OpenCL standard is only explicit about alignment requirements for
OpenCL types, but not for the corresponding cl_* types in C
https://github.com/KhronosGroup/OpenCL-Headers/issues/149
fixes: #801
Gbp-Pq: Name 0003-fix-test_structs_as_args-on-i386.patch
[PATCH 2/4] rename opencl_image_type_to_index() to pocl_opencl_image_type_to_index()
Gbp-Pq: Name 0002-rename-opencl_image_type_to_index-to-pocl_opencl_ima.patch