Skip to content

[BUG]: Test suite assumes experimental/internal features are available #67

@bdice

Description

@bdice

Version

1.1.0

Version

13.1

Which installation method(s) does this occur on?

Source

Describe the bug.

I installed the package and ran the test suite with pytest.

During test collection, errors appear because cuda.tile_experimental fails to import. This affects:

  • test/test_autotuner.py
  • test/bench_rms_norm.py

The following tests fail at runtime with ModuleNotFoundError: No module named 'cuda.tile_internal':

  • test/test_atomic.py
  • test/test_binary_elementwise.py
  • test/test_fma.py
  • test/test_load_store.py
  • test/test_reduction.py
  • test/test_scan.py
  • test/test_token_order.py
  • test/test_unary_elementwise.py

These tests can be rewritten to use pytest.importorskip like:

ct_experimental = pytest.importorskip("cuda.tile_experimental")

Minimum reproducible example

Relevant log output

Full env printout

Other/Misc.

No response

Contributing Guidelines

  • I agree to follow cuTile Python's contributing guidelines
  • I have searched the open bugs and have found no duplicates for this bug report

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions