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

Use bool for enums representing bools #3416

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

masterleinad
Copy link
Contributor

This avoids some implicit conversions that would be detected by some static analyzers.

Copy link
Member

@crtrott crtrott left a 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.

@masterleinad
Copy link
Contributor Author

@ndellingwood Would you mind checking if this works for the larger amount of compilers we are testing?

@ndellingwood
Copy link
Contributor

@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.

@ndellingwood
Copy link
Contributor

ndellingwood commented Sep 29, 2020

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

@masterleinad
Copy link
Contributor Author

Retest this please.

Copy link
Member

@crtrott crtrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@crtrott crtrott merged commit ebaa8b1 into kokkos:develop Sep 30, 2020
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.

None yet

3 participants