Skip to content

Commit

Permalink
test_get_dpcppversion relaxed, allowing mkl_version (proxy for the ve…
Browse files Browse the repository at this point in the history
…rsion of the DPC++ runtime) to be bigger than the version of the DPC++ toolchain the package was built with (#631)
  • Loading branch information
oleksandr-pavlyk authored Oct 20, 2021
1 parent 9a5bdee commit 7110541
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dpctl/tests/test_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def test_get_dpcppversion():
assert len(dpcpp_ver) > 0
dpcpp_ver = dpcpp_ver.decode("utf-8")
mkl_ver = _get_mkl_version_if_present()
assert mkl_ver is None or mkl_ver == dpcpp_ver
if mkl_ver is not None:
assert mkl_ver >= dpcpp_ver


def test___version__():
Expand Down

0 comments on commit 7110541

Please sign in to comment.