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

conversions: fix condition for adding -cl-denorms-are-zero #2067

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

svenvh
Copy link
Member

@svenvh svenvh commented Sep 3, 2024

Commit b6941b6 ("Add fp16 testing to conversions and bruteforce (#1975)", 2024-06-18) introduced a behavioural change for non-half tests. The -cl-denorms-are-zero option could be added for non-half tests such as char_rtn_float even when gForceFTZ was false. Fix the condition by also taking the input and output types into account.

@haonanya
Copy link
Contributor

haonanya commented Sep 6, 2024

Hi, @svenvh , the fix recovers previous behavior, is it ready to land? Thanks.

@svenvh
Copy link
Member Author

svenvh commented Sep 6, 2024

Hi, @svenvh , the fix recovers previous behavior, is it ready to land? Thanks.

Not yet, this PR needs an approving review first.

Commit b6941b6 ("Add fp16 testing to conversions and bruteforce
(KhronosGroup#1975)", 2024-06-18) introduced a behavioural change for non-half
tests.  The `-cl-denorms-are-zero` option could be added for non-half
tests such as `char_rtn_float` even when `gForceFTZ` was `false`.  Fix
the condition by also taking the input and output types into account.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
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.

2 participants