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

Unused Function Warning with XL #1267

Closed
crtrott opened this issue Dec 11, 2017 · 0 comments
Closed

Unused Function Warning with XL #1267

crtrott opened this issue Dec 11, 2017 · 0 comments
Assignees
Labels
Enhancement Improve existing capability; will potentially require voting

Comments

@crtrott
Copy link
Member

crtrott commented Dec 11, 2017

The function is marked static KOKKOS_FORCEINLINE_FUNCTION

/ascldap/users/crtrott/Kokkos/kokkos/core/src/impl/Kokkos_Traits.hpp:440:1: error: unused function 'power_of_two_if_valid' [-Werror,-Wunused-function]
power_of_two_if_valid(const unsigned N) 

Fixing this by removing "static"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improve existing capability; will potentially require voting
Projects
None yet
Development

No branches or pull requests

1 participant