Skip to content

Add compiletests#241

Merged
LegNeato merged 1 commit intoRust-GPU:mainfrom
LegNeato:compiletest2
Aug 1, 2025
Merged

Add compiletests#241
LegNeato merged 1 commit intoRust-GPU:mainfrom
LegNeato:compiletest2

Conversation

@LegNeato
Copy link
Copy Markdown
Contributor

@LegNeato LegNeato commented Aug 1, 2025

These tests check that code compiles (or doesn't) as expected. The framework also has the capability to check the generated ptx (see the tests in dis/).

These tests are not run, so they do not validate runtime behavior. This also means they can run on machines without a GPU, like GitHub Actions runners.

This is largely modeled / structured after rust-gpu's compiletests in anticipation of a project merge one day.

@LegNeato LegNeato requested a review from Copilot August 1, 2025 00:54

This comment was marked as off-topic.

@LegNeato LegNeato force-pushed the compiletest2 branch 8 times, most recently from fed6e8a to 6246888 Compare August 1, 2025 18:02
These tests check that code compiles (or doesn't) as expected.
The framework also has the capability to check the generated ptx (see
the tests in `dis/`.

These tests are not run, so they do not validate runtime behavior.
This also means they can run on machines without a GPU, like GitHub
Actions runners.

This is largely modeled / structured after rust-gpu's compiletests
in anticipation of a project merge one day.
@LegNeato LegNeato merged commit 65a20a9 into Rust-GPU:main Aug 1, 2025
8 checks passed
@LegNeato LegNeato deleted the compiletest2 branch August 1, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants