Skip to content
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

[sycl][e2e][bindless-images] Refactor bindless tests: separate out functionality #17045

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

JackAKirk
Copy link
Contributor

@JackAKirk JackAKirk commented Feb 18, 2025

This separates out bindless-image tests into more unit-test like tests for orthogonal functionality. This reduces the number of tests that fail in #16503 when the upstream commit, f9c8c01 , is pulled down, from 7 to three. This also demonstrates that essentially all bindless-image functionality that maps directly to cuda (those using nd range or USM) work correctly even with the upstream pulldown, whereas some functionality that is SYCL specific (range parallel_for or buffers) fail. Complete information is described in the associated issue #16503 (comment)

All the tests pass with the current DPC++ tip, but three of the tests fail when the above mentioned upstream commit is pulled down.

  • read_write_1D_buffer.cpp
  • read_write_1D_range.cpp
  • examples/example_2_2D_dynamic_read.cpp

Additionally this PR removes the duplicate read_write_1D.cpp and read_2D_dynamic.cpp tests which match almost identically with the corresponding named tests in the examples folder. This is done to reduce unnecessary maintenance overhead.

@JackAKirk
Copy link
Contributor Author

For a description of the SYCL specific features that are failing (upon pull down of the upstream commit f9c8c01) in read_write_1D_buffer.cpp and read_write_1D_range.cpp see #16503 (comment)

@JackAKirk JackAKirk marked this pull request as ready for review February 18, 2025 15:52
@JackAKirk JackAKirk requested a review from a team as a code owner February 18, 2025 15:52
Signed-off-by: JackAKirk <[email protected]>
@JackAKirk
Copy link
Contributor Author

JackAKirk commented Feb 20, 2025

@intel/llvm-gatekeepers this is ready for merge. Thanks

The failed test (Prefix_Local_sum3.cpp) is unrelated and occurring in multiple PRs. See this issue:
#17075 (comment)

@dm-vodopyanov dm-vodopyanov merged commit 8facecd into intel:sycl Feb 20, 2025
18 of 19 checks passed
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