Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix missing
if constexpr
in optimized gelu (unbreak sync of D68745515/
#7987) (#8011) The code gated under this `if` does disallowed `static_cast`s if the `if` condition doesn't pass; this is what `if constexpr` is for.
- Loading branch information