Skip to content

[SYCL][E2E] Use size_t rather than unsigned long in WorkGroupScratchMemory tests #17100

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 1 commit into from
Feb 24, 2025

Conversation

RossBrunton
Copy link
Contributor

The max work group size is a size_t, rather than an unsigned long.
This trips up older versions of MSVC where size_t happens to be
unsigned long long.

…emory tests

The max work group size is a `size_t`, rather than an `unsigned long`.
This trips up older versions of MSVC where `size_t` happens to be
`unsigned long long`.
@RossBrunton
Copy link
Contributor Author

@intel/llvm-gatekeepers Merge please.

@sommerlukas sommerlukas merged commit 59a1bab into intel:sycl Feb 24, 2025
18 checks passed
kurapov-peter pushed a commit to kurapov-peter/llvm that referenced this pull request Mar 5, 2025
…emory tests (intel#17100)

The max work group size is a `size_t`, rather than an `unsigned long`.
This trips up older versions of MSVC where `size_t` happens to be
`unsigned long long`.
AlexeySachkov pushed a commit to AlexeySachkov/llvm that referenced this pull request Mar 31, 2025
…emory tests (intel#17100)

The max work group size is a `size_t`, rather than an `unsigned long`.
This trips up older versions of MSVC where `size_t` happens to be
`unsigned long long`.
AlexeySachkov added a commit that referenced this pull request Apr 2, 2025
This is a joined cherry-pick of #16286, #17046 and
#17100 made to align tests between `sycl` and `sycl-rel-6_1_0`
branches to make the pre-commit more stable on the latter.

Descriptions of cherry-picked commits:

---

Fix postcommit failure and move tests in right folder (#16286)

opencl cpu fails without a stack trace

Patch-By: Victor Lomuller <[email protected]>

---

[SYCL][E2E] Limit work group size in WorkGroupScratchMemory tests
(#17046)

Some devices don't support work group sizes of 1024, so use the maximum
size if it is smaller in the copy_dynamic_size.cpp and
dynamic_unused.cpp tests.

Patch-By: Ross Brunton <[email protected]>

---

[SYCL][E2E] Use size_t rather than unsigned long in
WorkGroupScratchMemory tests (#17100)

The max work group size is a `size_t`, rather than an `unsigned long`.
This trips up older versions of MSVC where `size_t` happens to be
`unsigned long long`.

Patch-By: Ross Brunton <[email protected]>

---
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