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

Add logic for setting DRACO_ROUNDOFF_MODE for FMA CPP macro. #1093

Merged
merged 3 commits into from
Jul 29, 2021

Conversation

KineticTheory
Copy link
Collaborator

@KineticTheory KineticTheory commented Jul 28, 2021

Background

  • Add build system logic that allows us to toggle between fast and accurate FMA modes. In general, accurate is required for CI and regression testing while fast is enabled for releases.

Purpose of Pull Request

Description of changes

  • Added a new CMake option DRACO_ROUNDOFF_MODE that defaults to ACCURATE.
  • This option is published in draco-config.cmake and ds++/config.h so other projects are aware of Draco's run mode for FMA. The cmake file provide information to client build systems. The header file provides information to client source code.
  • Release scripts were updated so that fast FMA is enabled for releases.
  • cmake-format style fixes.

Status

+ Add build system logic that allows us to toggle between *fast* and *accurate* FMA modes.  In
  general, *accurate* is required for CI and regression testing while *fast* is enabled for
  releases.
+ Related to lanl#6
+ Added a new CMake option `DRACO_ROUNDOFF_MODE` that defaults to `ACCURATE`.
+ This option is published in `draco-config.cmake` and `ds++/config.h` so other projects are aware
  of Draco's run mode for FMA. The cmake file provide information to client build systems.  The
  header file provides information to client source code.
+ Release scripts were updated so that *fast* FMA is enabled for releases.
+ The `cmake-format` program damaged some text blocks that needed manual cleaning up.
+ Update the new PR templte so that it points to re-git instead of redmine.
@alexrlongne
Copy link
Contributor

Looks good, it didn't look like there were any non-format changes to the buildEnv.cmake file other than formatting. If there are changes to that file could you highlight them?

@codecov
Copy link

codecov bot commented Jul 28, 2021

Codecov Report

Merging #1093 (276088c) into develop (6ba9e00) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop   #1093   +/-   ##
=======================================
  Coverage     88.7%   88.7%           
=======================================
  Files          374     374           
  Lines        18592   18592           
=======================================
  Hits         16496   16496           
  Misses        2096    2096           

@KineticTheory KineticTheory merged commit 3bfc0f6 into lanl:develop Jul 29, 2021
@KineticTheory KineticTheory deleted the fma-roundoff-modes branch August 5, 2021 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants