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

Adding ATMI as the runtime layer to launch Chapel's generated GPU ker… #13

Open
wants to merge 10 commits into
base: chpl-hsa-master
Choose a base branch
from

Conversation

ashwinma
Copy link

@ashwinma ashwinma commented Dec 2, 2016

…nels

@ashwinma ashwinma changed the base branch from chpl-hsa to chpl-hsa-master March 4, 2017 09:32
ashwinma added 10 commits June 14, 2017 15:25
…led by setting the CHPL_TASKS to atmi instead of qthreads
…should be enabled to do that, but it is just conforming to the rest of our conditional compilation strategy anyway.
…e chpl-atmi null task instead of -1. Rationale to return 0 instead of chpl_nullTaskID: ATMI returns -1 as the NULL

task, but we maintain 0 as the null task in chpl-atmi. Impl: chpl-atmi does not create a new task for the main wrapper. Instead it
creates a dummy ATMI task in the beginning but does not launch/activate
it. This helps us recognize 0 as the main/dummy task and not -1 that is
expected by ATMI as the NULL task.
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.

1 participant