-
Notifications
You must be signed in to change notification settings - Fork 407
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
"More than one tag given" error in Experimental::require() #2608
Labels
Bug
Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)
Comments
crtrott
added
Bug
Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)
bug - experimental feature
labels
Dec 19, 2019
Ok thanks for reporting this. Pretty sure this is a bug in the logic of require which modifies the template parameters of the policy ... |
I have the unit test written for RangePolicy and it fails to compile as expected. |
crtrott
added a commit
to crtrott/kokkos
that referenced
this issue
Dec 27, 2019
This is the test for issue kokkos#2608
crtrott
added a commit
to crtrott/kokkos
that referenced
this issue
Dec 27, 2019
masterleinad
pushed a commit
to masterleinad/kokkos
that referenced
this issue
Feb 24, 2020
This is the test for issue kokkos#2608
masterleinad
pushed a commit
to masterleinad/kokkos
that referenced
this issue
Feb 24, 2020
@crtrott This needs to go into trilinos too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the base policy (happens with team and range) passed to Kokkos::Experimental::require() has an explicit tag, there's an error in AnalyzePolicy saying multiple tag types were given (it always thinks the other one is void). A one-line example that replicates this:
auto pol = require(Kokkos::RangePolicy<Exec, TagType>(execInstance, 0, 100), Experimental::WorkItemProperty::HintLightWeight);
where execInstance has type Exec, and TagType is anything other than void.I have a branch "RequireTagIssue" in the fork git@github.com:brian-kelley/kokkos that builds this this as an example on whatever device(s) are enabled. It should work with generate_makefile or CMake but I had some trouble with a CMake build (include path was broken in all examples - Kokkos_Core.hpp wasn't found) so I can only promise it works with generate_makefile.
The error:
The text was updated successfully, but these errors were encountered: