Test, fix complex-valued TypeCast in PyOpenCL #3130
Annotations
6 errors
|
test/test/test/test_expression.py#L81
test_complex_support[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-ExecutableCTarget]
AssertionError:
Not equal to tolerance rtol=1e-07, atol=0
Mismatched elements: 10 / 10 (100%)
Max absolute difference among violations: 0.88471716
Max relative difference among violations: 0.92813427
ACTUAL: array([0.041921, 0.5788 , 0.831971, 0.795067, 0.929386, 0.095918,
0.010052, 0.578564, 0.948551, 0.286548])
DESIRED: array([0.225462, 0.690545, 0.868797, 1.023084, 1.026977, 0.980635,
0.139877, 0.833325, 1.305792, 0.286664])
|
test/test/test/test_loopy.py#L2060
test_tight_loop_bounds_codegen
AssertionError: assert 'for (int j = ((gid(0) == 0 && lid(0) == 0) ? 0 : -2 + 2 * lid(0) + 10 * gid(0)); j <= ((-1 + gid(0) == 0 && lid(0) == 0) ? 9 : 2 * lid(0)); ++j)' in '#define lid(N) ((int) get_local_id(N))\n#define gid(N) ((int) get_group_id(N))\n\n__kernel void __attribute__ ((reqd_... * lid(0) + 10 * gid(0)); j <= ((char) (-1 + gid(0) == 0 && lid(0) == 0) ? 9 : 2 * lid(0)); ++j)\n out[j] = j;\n}'
+ where '#define lid(N) ((int) get_local_id(N))\n#define gid(N) ((int) get_group_id(N))\n\n__kernel void __attribute__ ((reqd_... * lid(0) + 10 * gid(0)); j <= ((char) (-1 + gid(0) == 0 && lid(0) == 0) ? 9 : 2 * lid(0)); ++j)\n out[j] = j;\n}' = <bound method TranslationUnitCodeGenerationResult.device_code of TranslationUnitCodeGenerationResult(host_programs={'l..._preambles=[('00_declare_gid_lid', '#define lid(N) ((int) get_local_id(N))\n#define gid(N) ((int) get_group_id(N))')])>()
+ where <bound method TranslationUnitCodeGenerationResult.device_code of TranslationUnitCodeGenerationResult(host_programs={'l..._preambles=[('00_declare_gid_lid', '#define lid(N) ((int) get_local_id(N))\n#define gid(N) ((int) get_group_id(N))')])> = TranslationUnitCodeGenerationResult(host_programs={'loopy_kernel': GeneratedProgram(name='loopy_kernel_outer', is_devi...e_preambles=[('00_declare_gid_lid', '#define lid(N) ((int) get_local_id(N))\n#define gid(N) ((int) get_group_id(N))')]).device_code
|
test/test/test/test_loopy.py#L574
test_struct_assignment[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>]
pyopencl._cl.RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE
Build on <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language' at 0x55cd75d21200>:
error: /home/runner/.cache//pocl/kcache/tempfile_vofMGn.cl:16:20: used type 'bbhit' where arithmetic or pointer type is required
error: /home/runner/.cache//pocl/kcache/tempfile_vofMGn.cl:17:21: used type 'bbhit' where arithmetic or pointer type is required
error: /home/runner/.cache//pocl/kcache/tempfile_vofMGn.cl:18:22: used type 'bbhit' where arithmetic or pointer type is required
error: /home/runner/.cache//pocl/kcache/tempfile_vofMGn.cl:19:22: used type 'bbhit' where arithmetic or pointer type is required
Device cpu-haswell-AMD EPYC 7763 64-Core Processor failed to build the program
(options: -I /home/runner/work/loopy/loopy/.conda-root/envs/testing/lib/python3.12/site-packages/pyopencl/cl)
|
test/test/test/test_target.py#L230
test_opencl_emits_ternary_operators_correctly[<context factory for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-ExecutableCTarget]
codepy.CompileError: module compilation failed
|
|
The logs for this run have expired and are no longer available.
Loading