[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