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

Pass the Execution Space as TT template parameter #308

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

devreal
Copy link
Contributor

@devreal devreal commented Nov 19, 2024

Defaults to Host execution so existing code is not affected. Properly set by make_tt.

We cannot query TT::derivedT for flags because at the time TT is instantiated because derivedT is incomplete at that point. For now pass the Space as template parameter. We need to find a different way if we want to have multiple implementations of a task.

@devreal devreal requested a review from evaleev November 19, 2024 20:47
Defaults to Host execution so existing code is not affected.
Properly set by make_tt.

We cannot query TT::derivedT for flags because at the time TT
is instantiated because derivedT is incomplete at that point.
For now pass the Space as template parameter. We need to find
a different way if we want to have multiple implementations
of a task.

Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
@devreal devreal force-pushed the execution-space-as-template-param branch from fda2d8a to 29af994 Compare November 19, 2024 21:38
@devreal
Copy link
Contributor Author

devreal commented Jan 6, 2025

Please review, this is needed for #301 to pass CI.

With ICLDisco/parsec#694 PaRSEC will have
a proper initializer for gpu task structures but until then
we need to properly initialize this field to something non-zero.

Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
@evaleev evaleev merged commit 7e54639 into TESSEorg:master Jan 14, 2025
6 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.

2 participants