Skip to content

pushpull: drop FF_CUDA_NO_PUSHPULL now that pushpull is in cuda-lib's MODULES - #45

Merged
balbasty merged 4 commits into
mainfrom
claude/cuda-pushpull-dynamic-spline
Jul 31, 2026
Merged

pushpull: drop FF_CUDA_NO_PUSHPULL now that pushpull is in cuda-lib's MODULES#45
balbasty merged 4 commits into
mainfrom
claude/cuda-pushpull-dynamic-spline

Conversation

@balbasty

Copy link
Copy Markdown
Collaborator

Workstream: claude-jitfields-to-fastfields

Part of fastfields/fastfields-cuda-lib#30. pushpull joined fastfields-cuda-lib's MODULES in fastfields/fastfields-cuda-lib#31 (bound::type::Dynamic + a new spline::type::Dynamic keep its compile cost bounded the same way reg_field/reg_flow's was), so the CUDA path in this hub no longer needs to be compiled out to keep the FF_WITH_CUDA link resolved.

Depends on fastfields/fastfields-cpu-lib#48 and fastfields/fastfields-cuda-lib#31.

Test plan

  • make all CXX=clang++ (CPU-only): libfastfields-cpu.so + libfastfields.so build cleanly, pushpull included, no errors.
  • make all CXX=clang++ USE_CUDA=1: libfastfields-cuda.so + libfastfields.so build and link cleanly against both backends, pushpull's FF_CUDA:: symbols resolve with the guard removed, no errors. Compile+link only (no GPU in CI, as with every other module here).

🤖 Generated with Claude Code


Generated by Claude Code

claude added 2 commits July 30, 2026 23:46
…cuda-lib
pushpull joined fastfields-cuda-lib's MODULES in fastfields-cuda-lib#30
(bound::type::Dynamic + a new spline::type::Dynamic keep its compile cost
bounded the same way reg_field/reg_flow's was), so the CUDA path no longer
needs to be compiled out here to keep the FF_WITH_CUDA link resolved.
- Makefile: USE_CUDA=1 no longer adds -DFF_CUDA_NO_PUSHPULL.
- pushpull.cpp: #if defined(FF_WITH_CUDA) && !defined(FF_CUDA_NO_PUSHPULL)
-> plain #ifdef FF_WITH_CUDA, matching every other module (reg_field.cpp
et al.) that never needed the extra guard.
- CLAUDE.md / MIGRATION.md: drop the stale FF_CUDA_NO_PUSHPULL mentions and
the "~40 min to compile" note now that the actual measured numbers (see
fastfields-cuda-lib#30) are far lower under the default policy.
Part of fastfields-cuda-lib#30.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016AjQcY78NgbagPSbPJRr6Z
Part of fastfields-cuda-lib#30.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016AjQcY78NgbagPSbPJRr6Z
claude added 2 commits July 31, 2026 14:22
…ization, param reorder, macro fold)
Part of fastfields-cuda-lib#30.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016AjQcY78NgbagPSbPJRr6Z
…c stack merge)
cpu-lib#48 merged as 3cf1004, cuda-lib#31 merged as 51cdc27 (merge
commit SHAs differ from the PR branch heads this was previously
pinned to).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016AjQcY78NgbagPSbPJRr6Z
@balbasty
balbasty merged commit 77f25b9 into mainJul 31, 2026
1 check passed
@balbasty
balbasty deleted the claude/cuda-pushpull-dynamic-spline branch July 31, 2026 22:22
Sign up for freeto 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

@balbasty@claude