Skip to content

harness: Move function_list to harness and avoid .cpp includes - #2839

Open
rjodinchr wants to merge 3 commits into
KhronosGroup:mainfrom
rjodinchr:cpp-includes
Open

rjodinchr wants to merge 3 commits into
KhronosGroup:mainfrom
rjodinchr:cpp-includes

Conversation

@rjodinchr

Copy link
Copy Markdown
Collaborator
  • Move function_list.{cpp,h} from math_brute_force to test_common/harness.
  • Update spir to compile function_list.cpp with FUNCTION_LIST_ULPS_ONLY instead of including the .cpp file in main.cpp.
  • Update math_brute_force and spir CMakeLists and includes accordingly.
  • Fix subgroups including mt19937.cpp instead of mt19937.h.

- Move function_list.{cpp,h} from math_brute_force to test_common/harness.
- Update spir to compile function_list.cpp with FUNCTION_LIST_ULPS_ONLY
  instead of including the .cpp file in main.cpp.
- Update math_brute_force and spir CMakeLists and includes accordingly.
- Fix subgroups including mt19937.cpp instead of mt19937.h.

@svenvh svenvh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM but maybe rename to math_function_list.{h,cpp} to make it clear that these are the math functions only?

@rjodinchr
rjodinchr requested a review from svenvh October 8, 2026 08:32
Comment thread test_conformance/subgroups/CMakeLists.txt Outdated
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