Skip to content

tl.math.sqrt_rn(x) runs incorrectly on XPU #847

@yudongsi

Description

@yudongsi

tl.math.sqrt_rn(x) runs incorrectly on XPU, seems there is no precise sqrt_rn implemention in libsycl-spir64-unknown-unknown.bc.
Remove

   if expr_prec == 'tl.math.sqrt_rn(x)':
        pytest.skip("FIXME: Fail accuracy")

Run

python3 -m pytest --device xpu python/test/unit/language/test_core.py::test_precise_math

Metadata

Metadata

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions