Skip to content

Fix __FINITE_MATH_ONLY__ double defined#714

Open
wenju-he wants to merge 1 commit into
intel:mainfrom
wenju-he:__FINITE_MATH_ONLY__
Open

Fix __FINITE_MATH_ONLY__ double defined#714
wenju-he wants to merge 1 commit into
intel:mainfrom
wenju-he:__FINITE_MATH_ONLY__

Conversation

@wenju-he
Copy link
Copy Markdown
Contributor

@wenju-he wenju-he commented May 30, 2026

When -cl-finite-math-only option is specified, clang defines the macro. opencl-clang shouldn't re-define it.

Fixes test c99_kernels/testsuite/ocl/AppKernels/Bionic/Collatz/program_1_0.cl in #715.

When -cl-finite-math-only option is specified, clang defines the macro.
opencl-clang shouldn't re-define it.
This is exposed by a LIT test.
@wenju-he wenju-he enabled auto-merge (squash) May 30, 2026 07:31
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.

1 participant