- Remove hardcoded cap of NUM_ATOMS_MAX=51 on sm_90+. Now that TMA uses
proper mbarrier sync, the INVALID_PTX was caused by wrong instructions,
not kernel size. Hyperparams control atom count directly.
- Fix NVRTC source concatenation order: dim_overrides now comes BEFORE
common_src and kernel_src so the #ifndef guards in .cuh/.cu files
properly skip defaults. Previously overrides came after, causing
macro redefinition warnings.
- Make PORTFOLIO_DIM dynamic (was hardcoded "3" in format string).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>