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

Untangle compilation process #3940

Merged
merged 6 commits into from
Jan 10, 2025
Merged

Conversation

connorjward
Copy link
Contributor

Description

Some improvements I have wanted to do for some time. These will facilitate future work.

  • compilation.load now expects a C-string, not a GlobalKernel
  • Added logging decorators to loopy kernel generation and C code generation

Note that this changes the API of compilation.load to return a DLL instead of a function pointer, requiring getattr outside.

dham
dham previously approved these changes Dec 18, 2024
Copy link

github-actions bot commented Dec 18, 2024

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake complex8156 ran6682 passed1474 skipped0 failed

Copy link

github-actions bot commented Dec 18, 2024

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake real8162 ran7487 passed675 skipped0 failed

@connorjward connorjward marked this pull request as draft January 9, 2025 19:32
@connorjward
Copy link
Contributor Author

Merging as this was previously approved and only very minor changes needed since.

@connorjward connorjward marked this pull request as ready for review January 10, 2025 15:47
@connorjward connorjward merged commit a08fc1e into master Jan 10, 2025
20 checks passed
@connorjward connorjward deleted the connorjward/refactor-compilation branch January 10, 2025 15:47
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