Skip to content

[SYCL][CUDA] Refactor joint_matrix tests and remove legacy cuda extension #8951

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 6, 2023

Conversation

JackAKirk
Copy link
Contributor

@JackAKirk JackAKirk commented Apr 5, 2023

The new joint_matrix portable extension has been live for a while now and has made it into the latest release. In this PR I've removed the legacy Cuda only version of the extension to avoid future confusion.
The Cuda joint_matrix e2e tests are also refactored so that they will pass on any tensor cores supporting gpu. Previously sm_70, sm_72, and sm_80 cases were included in the same test file. The target builtins required compilation for sm_80 or above, and despite checks for compute capability for each sm_xx test case within the main test file, since the ptx does not jit if compiled for sm_80 but ran a lower compute capability, e.g. sm_75, this led to an invalid binary error in such a case. Now the tests are split into files referencing the minimum compute capability for test cases included in the file, meaning that the test cases will run and pass on any tensor cores supporting gpu.

get_wi_data() is deprecated in the cuda backend and we can remove this support before the next release and remove corresponding test cases from joint_matrix_apply_cuda.hpp.

cuda joint_matrix e2e tests refactored so that they will pass on any
tensor cores supporting gpu.

Signed-off-by: JackAKirk <[email protected]>
@JackAKirk JackAKirk temporarily deployed to aws April 5, 2023 09:48 — with GitHub Actions Inactive
@JackAKirk JackAKirk temporarily deployed to aws April 5, 2023 10:19 — with GitHub Actions Inactive
@JackAKirk JackAKirk temporarily deployed to aws April 5, 2023 11:26 — with GitHub Actions Inactive
@JackAKirk JackAKirk temporarily deployed to aws April 5, 2023 11:57 — with GitHub Actions Inactive
@JackAKirk JackAKirk marked this pull request as ready for review April 5, 2023 14:51
@JackAKirk JackAKirk requested a review from a team as a code owner April 5, 2023 14:51
@JackAKirk JackAKirk requested a review from bso-intel April 5, 2023 14:51
@JackAKirk JackAKirk changed the title [SYCL][CUDA ]Removed legacy cuda joint_matrix. Refactored e2e tests. [SYCL][CUDA] Removed legacy cuda joint_matrix. Refactored e2e tests. Apr 5, 2023
Copy link
Contributor

@bso-intel bso-intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bader bader changed the title [SYCL][CUDA] Removed legacy cuda joint_matrix. Refactored e2e tests. [SYCL][CUDA] Refactor joint_matrix tests and remove legacy cuda extension Apr 6, 2023
@bader bader merged commit 3e8f937 into intel:sycl Apr 6, 2023
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.

3 participants