Skip to content

Claude/jitfields fastfields migration v5r416 - #2

Merged
balbasty merged 3 commits into
mainfrom
claude/jitfields-fastfields-migration-v5r416
Jul 20, 2026
Merged

Claude/jitfields fastfields migration v5r416#2
balbasty merged 3 commits into
mainfrom
claude/jitfields-fastfields-migration-v5r416

Conversation

@balbasty

Copy link
Copy Markdown
Collaborator

No description provided.

claude added 3 commits July 20, 2026 11:07
…GRATION
Public ff:: resample/restriction/spline_coeff dispatching on device to the
cpu/cuda libs (cuda guarded by FF_WITH_CUDA). Makefile: add the three modules
to MODULES (CPU-only build links). MIGRATION.md: refresh status matrix, record
the threadpool multi-module link fix and the module bug fixes, note the cuda
host-launcher gap and the resample/restriction/spline_coeff naming.
Surfaced while building the nanobind bindings against fastfields-lib:
- distance.cpp/posdef.cpp used 'using namespace FF;' then defined the
dispatchers at global scope, so symbols were emitted as ::dt_euclidean /
::sym_matvec instead of ff:: as the headers declare -> ff:: callers got
undefined references. Wrap the bodies in FF_NAMESPACE_BEGIN(FF)/END like
resize/restrict/splinc.
- distance.h defined bound_t/spline_t without the FF_LIB_BOUND_SPLINE_T guard
the other headers use -> redefinition when co-included. Add the guard.
- Makefile RPATH used $$ORIGIN unquoted, so the recipe shell expanded
$ORIGIN to empty (runpath became /../lib). Single-quote it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016AjQcY78NgbagPSbPJRr6Z
pushpull: pull/push/count/grad exposed through cpu-lib/cuda-lib/lib (dim x
spline x bound x dtype dispatch); extrapolate de-templated to a runtime arg to
keep -O2 build times sane. regularisers: flow_matvec/flow_diag and
field_matvec/field_diag for absolute/membrane/bending. Many impl+kernel bug
fixes (namespace/lookup/typos, a C++11 function-pointer-NTTP blocker, negative
array-bound params under dynamic C, missing includes). CPU tests: pushpull 104,
reg_field 272, reg_flow 282; full 8-module lib links and distance/posdef/
resize/restrict/splinc regressions stay green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016AjQcY78NgbagPSbPJRr6Z
@balbasty
balbasty merged commit 6b46f17 into mainJul 20, 2026
@balbasty
balbasty deleted the claude/jitfields-fastfields-migration-v5r416 branch July 20, 2026 16:06
Sign up for freeto 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

@balbasty@claude