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 Memset Fix, main branch (2024.11.06.) #302

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

krasznaa
Copy link
Member

@krasznaa krasznaa commented Nov 6, 2024

Fixing vecmem::sycl::copy::memset and vecmem::sycl::async_copy::memset in the absence of ::sycl::queue::memset.

I came across this issue while making a mistake in #301. Apparently with old SYCL compilers the memset(...) functions would've never worked. 🤔

In the end, checking for whether ::sycl::queue::memset exists is quite futile by now. With #301 we'll only be able to use compilers that implement the SYCL2020 standard. Which includes ::sycl::queue::memset. Nevertheless, this seemed like a simple fix to make.

@krasznaa krasznaa added the bug Something isn't working label Nov 6, 2024
@krasznaa krasznaa force-pushed the SYCLMemsetFix-main-20241106 branch from 66042a2 to 014ea8d Compare November 7, 2024 08:06
Copy link

sonarqubecloud bot commented Nov 7, 2024

@krasznaa krasznaa merged commit 837a468 into acts-project:main Nov 7, 2024
31 checks passed
@krasznaa krasznaa deleted the SYCLMemsetFix-main-20241106 branch November 7, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant