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

warning: enum constant in boolean context #1813

Closed
kyungjoo-kim opened this issue Sep 20, 2018 · 1 comment
Closed

warning: enum constant in boolean context #1813

kyungjoo-kim opened this issue Sep 20, 2018 · 1 comment
Assignees
Labels
Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)

Comments

@kyungjoo-kim
Copy link
Contributor

/ascldap/users/kyukim/Work/lib/kokkoskernels/build/white/release/kokkos/install/include/Cuda/Kokkos_Cuda_Parallel.hpp:1238:32: warning: enum constant in boolean context [-Wint-in-bool-context]             
   enum { UseShflReduction = (true && ValueTraits::StaticValueSize) };    
@ndellingwood
Copy link
Contributor

Fixed with PR #1837 in develop branch

@ndellingwood ndellingwood self-assigned this Oct 5, 2018
@ndellingwood ndellingwood added Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos) bug - fix pushed to develop branch labels Oct 5, 2018
@ndellingwood ndellingwood added this to the 2018 September milestone Oct 5, 2018
@crtrott crtrott closed this as completed Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)
Projects
None yet
Development

No branches or pull requests

3 participants