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

Single thread acc throw for invalid workdiv fix #2391

Merged

Conversation

ikbuibui
Copy link
Contributor

@ikbuibui ikbuibui commented Sep 23, 2024

For a single thread acc if the WorkDiv number of threads per block is more than one, throw a runtime error
We will now throw in create task kernel. The current approach of throwing when the task kernel is executed doesn't work. CallbackThread::startWorkerThread, tries to handle the exception, but it needs to be dealt with the thread that creates it.

fwyzard
fwyzard previously approved these changes Sep 23, 2024
@fwyzard
Copy link
Contributor

fwyzard commented Sep 23, 2024

LGTM

@psychocoderHPC psychocoderHPC merged commit b4c65bf into alpaka-group:develop Sep 24, 2024
22 checks passed
@ikbuibui ikbuibui deleted the single_thread_acc_workdiv branch September 24, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants