Skip to content

Pass the Execution Space as TT template parameter#308

Merged
evaleev merged 3 commits intoTESSEorg:masterfrom
devreal:execution-space-as-template-param
Jan 14, 2025
Merged

Pass the Execution Space as TT template parameter#308
evaleev merged 3 commits intoTESSEorg:masterfrom
devreal:execution-space-as-template-param

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