Skip to content

Do not simplify in overloaded operators, type mappers #737

Do not simplify in overloaded operators, type mappers

Do not simplify in overloaded operators, type mappers #737

Re-run triggered October 30, 2024 22:04
Status Failure
Total duration 4m 7s
Artifacts

ci.yml

on: pull_request
Matrix: downstream_tests
Matrix: pytest
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
Tests for downstream project pytential: pytential/test/test/test/test_beltrami.py#L222
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator0-solution0] NotImplementedError
Tests for downstream project pytential: pytential/test/test/test/test_beltrami.py#L222
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator1-solution1] NotImplementedError
Tests for downstream project pytential: pytential/test/test/test/test_beltrami.py#L222
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator2-solution2] NotImplementedError
Tests for downstream project pytential: pytential/test/test/test/test_beltrami.py#L222
test_beltrami_convergence[<PyOpenCLArrayContext for <pyopencl.Device 'cpu-haswell-AMD EPYC 7763 64-Core Processor' on 'Portable Computing Language'>>-operator3-solution3] NotImplementedError
Tests for downstream project pytential: pytential/test/test/test/test_symbolic.py#L213
test_layer_potential_construction[Spp] NotImplementedError
Tests for downstream project pytential: pytential/test/test/test/test_symbolic.py#L501
test_mapper_int_g_term_collector[neumann] AssertionError: assert Sum((IntG(AxisTargetDerivative(0, LapKnl3D), (LapKnl3D,), (CommonSubexpression(Quotient(..., ...), None, 'pymbolic_eva...tage=None, granularity=GRANULARITY_NODE), DOFDescriptor(geometry=None, stage=None, granularity=GRANULARITY_NODE), ()))) == Sum((0, IntG(AxisTargetDerivative(0, LapKnl3D), (LapKnl3D,), (CommonSubexpression(Quotient(..., ...), None, 'pymbolic_...tage=None, granularity=GRANULARITY_NODE), DOFDescriptor(geometry=None, stage=None, granularity=GRANULARITY_NODE), ())))
Tests for downstream project pytential
Process completed with exit code 1.
Tests for downstream project loopy: loopy/test/test/test/test_transform.py#L1372
test_privatize_unprivatize_roundtrip assert TranslationUn..._roundtrip'})) == TranslationUn..._roundtrip'})) Omitting 2 identical items, use -vv to show Differing attributes: ['callables_table'] Drill down into differing attribute callables_table: callables_table: immutables.Map({'privatize_unprivatize_roundtrip': CallableKernel(arg_id_to_descr=None, arg_id_to_dtype=None, name='privatize_unprivatize_roundtrip', subkernel=LoopKernel(domains=[BasicSet("{ [i] : 0 <= i <= 9 }"), BasicSet("{ [imatrix] : 0 <= imatrix <= 19 }"), BasicSet("{ [k] : 0 <= k <= 29 }")], instructions=[Assignment(assignee=Subscript(Variable('acc'), Variable('imatrix')), atomicity=(), conflicts_with_groups=frozenset(), depends_on_is_final=True, expression=0, groups=frozenset(), happens_after=immutabledict({}), id='insn', no_sync_with=frozenset(), predicates=frozenset(), priority=0, tags=frozenset(), temp_var_type=Optional(), within_inames=frozenset({'imatrix', 'i'}), within_inames_is_final=True), Assignment(assignee=Subscript(Variable('acc'), Variable('imatrix')), atomicity=(), conflicts_with_groups=frozenset(), depends_on_is_final=True, expression=Sum((Subscript(Variable('acc'), Variable('imatrix')), Product((Subscript(Variable('a'), (Variable('imatrix'), Variable('i'), Variable('k'))), Subscript(Variable('vec'), Variable('k')))))), groups=frozenset(), happens_after=immutabledict({'insn': HappensAfter(variable_name=None, instances_rel=None)}), id='insn_0', no_sync_with=frozenset(), predicates=frozenset(), priority=0, tags=frozenset(), temp_var_type=Optional(), within_inames=frozenset({'imatrix', 'i', 'k'}), within_inames_is_final=True)], args=[<a: type: <auto/runtime>, shape: (20, 10, 30), dim_tags: (N2:stride:300, N1:stride:30, N0:stride:1) in aspace: global>, <vec: type: <auto/runtime>, shape: (30), dim_tags: (N0:stride:1) in aspace: global>], assumptions=BasicSet("{ : }"), temporary_variables={'acc': <acc: type: <auto/runtime>, shape: (20), dim_tags: (N0:stride:1) aspace: auto>}, inames={'imatrix': Iname(name='imatrix', tags=frozenset()), 'i': Iname(name='i', tags=frozenset()), 'k': Iname(name='k', tags=frozenset())}, substitutions={}, options=Options(allow_fp_reordering=True, allow_terminal_colors=True, annotate_inames=False, build_options=[], check_dep_resolution=True, cl_exec_manage_array_events=True, disable_global_barriers=False, edit_code=False, enforce_array_accesses_within_bounds=True, enforce_variable_access_ordered=True, insert_gbarriers=False, no_numpy=False, return_dict=False, skip_arg_checks=False, trace_assignment_values=False, trace_assignments=False, write_code=False, write_wrapper=False), target=<loopy.target.pyopencl.PyOpenCLTarget object at 0x7f563fdf76d0>, tags=frozenset(), state=<KernelState.INITIAL: 0>, name='privatize_unprivatize_roundtrip', preambles=(), preamble_generators=(), symbol_manglers=(), linearization=None, iname_slab_increments=immutables.Map({}), loop_priority=frozenset(), applied_iname_rewrites=(), index_dtype=np:dtype('int32'), silenced_warnings=[], overridden_get_grid_sizes_for_insn_ids=None))}) != immutables.Map({'privatize_unprivatize_roundtrip': CallableKernel(arg_id_to_descr=None, arg_id_to_dtype=None, name='privatize_unprivatize_roundtrip', subkernel=LoopKernel(domains=[BasicSet("{ [i] : 0 <= i <= 9 }"), BasicSet("{ [imatrix] : 0 <= imatrix <= 19 }"), BasicSet("{ [k] : 0 <= k <= 29 }")], instructions=[Assignment(assignee=Subscript(Variable('acc'), Sum((Variable('imatrix'), 0))), atomicity=(), conflicts_with_groups=frozenset(), depends_on_is_final=True, expression=0, groups=frozenset(), happens_after=immutabledict({}), id='insn', no_sync_with=frozenset(), predicates=frozenset(), priority=0, tags=frozenset(), temp_var_type=Optional(), within_inames=frozenset({'imatrix', 'i'}), within_inames_is_final=True), Assignment(assignee=Subscript(Variable('acc'), Sum((Variable('imatrix'), 0))), atomicity=(), conflicts_with_groups=frozenset(), depends_on_is_final=True, expression=Sum((Subscript(Variable('acc'), Sum((Variable('imatrix'), 0))), Product((Subscript(Variable('a'), (Variable('imatrix'),
Tests for downstream project loopy: loopy/test/test/test/test_transform.py#L1686
test_precompute_lets_length1_inames_live_if_requested AssertionError: assert Sum((Sum((0, Variable('e'))), Sum((Variable('i_0'), 0)))) == Sum((Variable('e'), Variable('i_0'))) + where Sum((Sum((0, Variable('e'))), Sum((Variable('i_0'), 0)))) = Assignment(assignee=Subscript(Variable('v_0'), (Variable('i_0'),)), atomicity=(), conflicts_with_groups=frozenset(), d...ity=0, tags=frozenset(), temp_var_type=Optional(), within_inames=frozenset({'e', 'i_0'}), within_inames_is_final=False).expression + and Sum((Variable('e'), Variable('i_0'))) = <pymbolic.parser.Parser object at 0x7fac2b3dd400>('e + i_0')
Tests for downstream project loopy: loopy/test/test/test/test_transform.py#L1702
test_precompute_lets_inner_length1_inames_live AssertionError: assert Quotient(Sum((Variable('e_inner'), Product((Variable('e_outer'), 16)))), Sum((Variable('i_0'), 0))) == Quotient(Sum((Variable('e_inner'), Product((Variable('e_outer'), 16)))), Variable('i_0')) + where Quotient(Sum((Variable('e_inner'), Product((Variable('e_outer'), 16)))), Sum((Variable('i_0'), 0))) = Assignment(assignee=Subscript(Variable('v_0'), (Variable('i_0'),)), atomicity=(), conflicts_with_groups=frozenset(), d...nset(), temp_var_type=Optional(), within_inames=frozenset({'e_inner', 'i_0', 'e_outer'}), within_inames_is_final=False).expression + and Quotient(Sum((Variable('e_inner'), Product((Variable('e_outer'), 16)))), Variable('i_0')) = <pymbolic.parser.Parser object at 0x7fac2b3dd400>('(e_inner + e_outer*16) / i_0')
Tests for downstream project loopy
Process completed with exit code 1.
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.