Skip to content

Add user_header tests, minor changes to opencl tests #1084

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

katrinabrock
Copy link
Contributor

@katrinabrock katrinabrock commented Apr 28, 2025

Submission Checklist

  • Run unit tests
  • Declare copyright holder and agree to license (see below)

Summary

This PR does two things to prep tests for cpp option logic change:

  1. Add regression tests for user_header logic.
  2. Add force_recompile in a bunch of places in opencl tests so that old binaries don't cause unintended side effects.

Copyright and Licensing

Please list the copyright holder for the work you are submitting
(this will be you or your assignee, such as a university or company):
Max Planck Institute for Animal Behavior

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the following licenses:

@katrinabrock katrinabrock changed the title Add tests Add user_header tests, minor changes to opencl tests Apr 28, 2025
@katrinabrock katrinabrock marked this pull request as draft April 28, 2025 13:15
@katrinabrock
Copy link
Contributor Author

@jgabry would you be able to re-trigger the WSL build? It looked like it failed during setup and this PR does have some wsl specific logic so that needs to run for sure before merging.

@katrinabrock katrinabrock marked this pull request as ready for review April 30, 2025 13:13
@jgabry
Copy link
Member

jgabry commented Apr 30, 2025

Just re-triggered it

@SteveBronder
Copy link
Collaborator

@katrinabrock just to make sure I'm following, this PR is writing tests to show the current behavior and the next PR will change that behavior?

@katrinabrock
Copy link
Contributor Author

@SteveBronder Yes, exactly. So then you will also see how the behavior is changing by the diff in the test.

Copy link
Collaborator

@SteveBronder SteveBronder left a comment

Choose a reason for hiding this comment

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

I'll wait for @jgabry but imo I think this looks good!

One quick thing. It looks like a lot of your files do not have EOL. Sometimes windows or mac can complain if a file does not have a newline at the end (which is the little red sign you see on github when looking at the file). If you can check your files have a newline at the end that would be great

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.

3 participants