Skip to content

Wrap hipfort_hipblas bindings to 132 columns#349

Merged
amontoison merged 1 commit into
ROCm:developfrom
amontoison:regen/wrap-hipblas
Jul 24, 2026
Merged

Wrap hipfort_hipblas bindings to 132 columns#349
amontoison merged 1 commit into
ROCm:developfrom
amontoison:regen/wrap-hipblas

Conversation

@amontoison

Copy link
Copy Markdown
Collaborator

Mechanical reformat so the bindings compile with strict compilers. Classic ifort caps free-form source lines at 132 columns with no way to extend them; the generated hipfort_hipblas.F90 had lines up to 242 columns. The generator now wraps emitted Fortran to a hard 132-column ceiling.

Only hipfort_hipblas.F90 changes, and it is a pure line reflow: argument lists are broken at commas and each bind(c, name=...) clause is placed intact on its own continuation line. No interface, symbol, or type is added or removed — verified by an identical token stream after removing continuations and the same number of interface blocks as develop.

  • Max line length: 100 columns (was 242).
  • Builds cleanly with gfortran (full CMake build, all modules).

@amontoison
amontoison requested a review from cgmb as a code owner July 24, 2026 15:38
@amontoison
amontoison merged commit 05e3fb4 into ROCm:develop Jul 24, 2026
1 check was pending
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.

1 participant