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 'AMD EPYC 7763 64-Core Processor' on 'Intel(R) OpenCL'>>-ExecutableCTarget]
AssertionError:
Not equal to tolerance rtol=1e-07, atol=0
Mismatched elements: 10 / 10 (100%)
Max absolute difference among violations: 0.65078107
Max relative difference among violations: 0.80458836
ACTUAL: array([0.202555, 0.987763, 0.644839, 0.070784, 0.324145, 0.158056,
0.654669, 0.473824, 0.756174, 0.846635])
DESIRED: array([0.545647, 1.369229, 1.064192, 0.298985, 0.811468, 0.808837,
0.762844, 0.685499, 0.790984, 0.848047])
|
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 'AMD EPYC 7763 64-Core Processor' on 'Intel(R) OpenCL'>>]
pyopencl._cl.RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE
Build on <pyopencl.Device 'AMD EPYC 7763 64-Core Processor' on 'Intel(R) OpenCL' at 0x55e86ec02758>:
Compilation started
51:16:20: error: used type 'bbhit' where arithmetic or pointer type is required
result[i].bi = (bbhit) (i);
^ ~~~
51:17:21: error: used type 'bbhit' where arithmetic or pointer type is required
result[i].hit = (bbhit) (i % 2);
^ ~~~~~~~
51:18:22: error: used type 'bbhit' where arithmetic or pointer type is required
result[i].tmin = (bbhit) (i);
^ ~~~
51:19:22: error: used type 'bbhit' where arithmetic or pointer type is required
result[i].tmax = (bbhit) (i + 10);
^ ~~~~~~~~
Compilation failed
(options: -I /home/runner/work/loopy/loopy/.conda-root/envs/testing/lib/python3.12/site-packages/pyopencl/cl)
(source saved as /tmp/tmp8uoox5jk.cl)
|
test/test/test/test_target.py#L230
test_opencl_emits_ternary_operators_correctly[<context factory for <pyopencl.Device 'AMD EPYC 7763 64-Core Processor' on 'Intel(R) OpenCL'>>-ExecutableCTarget]
codepy.CompileError: module compilation failed
|
test/test/doc/tutorial.rst#L1
[doctest] tutorial.rst
|
|
The logs for this run have expired and are no longer available.
Loading