Skip to content

Investigate recent test failures, concurrent with upgrade of DPC++ to 2025.0.1 #1901

@oleksandr-pavlyk

Description

@oleksandr-pavlyk

Consider snippet:

import dpctl.tensor as dpt

def test(n):
    x = dpt.arange(n*n, dtype="f4")
    m = dpt.ones(n*n, dtype="?")
    return dpt.all(x[m] == x)

Then

In [38]: [n for n in range(2, 265) if not test(n)]
Out[38]: [260, 261, 262, 263, 264]

In [39]: [n for n in range(2, 265) if not test(n)]
Out[39]: [256, 258, 259, 260, 261, 262, 263, 264]

In [40]: [n for n in range(2, 265) if not test(n)]
Out[40]: [257, 258, 259, 261, 262, 263]

The result is always empty for dpctl compiled with DPC++ 2025.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions