-
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
Use bool for enums representing bools #3416
Conversation
668a916
to
426d79f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want this tested with more compilers than are in the CI @ndellingwood we had issues before with stuff like this.
@ndellingwood Would you mind checking if this works for the larger amount of compilers we are testing? |
@masterleinad I launched tests with intel compilers (17, 18, 19) and subset of configurations, let me know if we need additional compilers checked as well. |
Intel spot-check results from kokkos-dev pass (I cherry-picked a254bdd from develop which created SHA f1dfdcfeb655fe8e54107dc150fedbd76e3cf632 to add intel 18 and 19 testing options) Running on machine: kokkos-dev
Repository Status: f1dfdcfeb655fe8e54107dc150fedbd76e3cf632 update testing scripts for kokkos-dev
Going to test compilers: intel/17.0.1 intel/18.0.5 intel/19.0.5
Testing compiler intel/17.0.1
Testing compiler intel/18.0.5
Starting job intel-17.0.1-OpenMP-release
kokkos options:
kokkos devices: OpenMP
kokkos cxx: -O3 -Wall -Wunused-parameter -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized
PASSED intel-17.0.1-OpenMP-release
Testing compiler intel/19.0.5
Starting job intel-18.0.5-Serial-release
kokkos options:
kokkos devices: Serial
kokkos cxx: -O3 -Wall -Wunused-parameter -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized
PASSED intel-18.0.5-Serial-release
Starting job intel-19.0.5-Pthread_Serial-release
kokkos options:
kokkos devices: Pthread,Serial
kokkos cxx: -O3 -Wall -Wunused-parameter -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized
PASSED intel-19.0.5-Pthread_Serial-release
#######################################################
PASSED TESTS
#######################################################
intel-17.0.1-OpenMP-release build_time=205 run_time=232
intel-18.0.5-Serial-release build_time=166 run_time=326
intel-19.0.5-Pthread_Serial-release build_time=311 run_time=967 |
Retest this please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
This avoids some implicit conversions that would be detected by some static analyzers.