Skip to content

Declare BSD-3-Clause in strided-perm license for the HPTT-derived module#144

Merged
shinaoka merged 2 commits into
mainfrom
strided-perm-hptt-license
Jul 21, 2026
Merged

Declare BSD-3-Clause in strided-perm license for the HPTT-derived module#144
shinaoka merged 2 commits into
mainfrom
strided-perm-hptt-license

Conversation

@shinaoka

Copy link
Copy Markdown
Member

Summary

The transpose engine in strided-perm/src/hptt/ follows the structure of HPTT's C++ implementation closely (module comments map to specific transpose.cpp line ranges), while HPTT's SIMD kernels, autotuning plan search, and parallelism heuristics were not ported. To stay on the safe side of the derived-work question:

  • strided-perm license field changed from the workspace MIT OR Apache-2.0 to the SPDX expression (MIT OR Apache-2.0) AND BSD-3-Clause (validated with cargo metadata)
  • THIRD-PARTY-LICENSES: the HPTT entry claimed "This is an independent Rust reimplementation; no C++ source code was copied", which overstated independence given the line-range correspondence comments. Replaced with an accurate description that also explains the license split.

The BSD-3-Clause text ("Copyright 2018 Paul Springer") and the ARRAY 2017 paper citation were already in THIRD-PARTY-LICENSES, so the substantive BSD compliance was in place; this PR aligns the claims and the package metadata with it. Upstream HPTT was verified to be fully BSD-3-Clause with no LGPL remnants (the LGPLv3 period in its history was cleaned up by the final upstream commit in 2022).

Text and metadata only; no code changes.

Test plan

  • cargo fmt --check
  • cargo test --workspace (all green)
  • cargo metadata parses the new SPDX expression
  • CI

🤖 Generated with Claude Code

The strided-perm/src/hptt/ module follows the structure of HPTT's C++
implementation (file comments map to specific transpose.cpp line
ranges), so treat it as derived on the safe side:

- strided-perm Cargo.toml license set to
  "(MIT OR Apache-2.0) AND BSD-3-Clause"
- THIRD-PARTY-LICENSES: replace the overstated "independent
  reimplementation; no C++ source code was copied" claim with an
  accurate description and state the license split

The BSD-3-Clause text and the ARRAY 2017 citation were already present
in THIRD-PARTY-LICENSES; no change there.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@shinaoka
shinaoka enabled auto-merge (squash) July 21, 2026 21:44
Add HPTT to the root README acknowledgments and license note, and add
an Acknowledgments and License section to the strided-perm README
stating the derivation and the (MIT OR Apache-2.0) AND BSD-3-Clause
split.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@shinaoka
shinaoka merged commit 360f07e into main Jul 21, 2026
5 checks passed
@shinaoka
shinaoka deleted the strided-perm-hptt-license branch July 21, 2026 21:49
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