Skip to content

Conversation

@ryanmrichard
Copy link
Member

@ryanmrichard ryanmrichard commented Nov 17, 2025

Is this pull request associated with an issue(s)?
No

Description
Starts the refactoring necessary to get WTF integrated into TensorWrapper. This process quickly got away from me so I want to check-in an intermediate before continuing. This PR will:

  • Expand the "backends" section so that backends are wrapped with common APIs.
  • Create Eigen and cutensor backends
  • Copy/paste source code from buffer::EigenTensor to the new backends.
  • Add reusable testing infrastructure that can be used to test backends through the common API.
  • Creates a new buffer, MDBuffer meant to eventually become Contiguous. What was the Eigen buffer will be deleted (it's now in the backend).

N.b., all of the original classes are being left alone so this PR shouldn't break anything...

TODOs

  • Finish porting contraction.

@ryanmrichard ryanmrichard self-assigned this Nov 17, 2025
@ryanmrichard
Copy link
Member Author

@jwaldrop107 can you up the CI's CXX_STANDARD to 20 please?

@jwaldrop107
Copy link
Member

Working on updating the test image. This is probably the time to remove the CXX_STANDARD from the toolchains and start specifying it in the individual libraries' CMakeLists.txt.

@ryanmrichard ryanmrichard marked this pull request as ready for review November 21, 2025 18:22
Copy link
Member

@jwaldrop107 jwaldrop107 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ryanmrichard Here's a couple of smaller things. The only one I'd be specifically worried about is the cuda_tensor.cpp one with the brace and conditionals. Do you know if these changes work with the rest of the stack?

ryanmrichard and others added 2 commits November 22, 2025 09:55
…or.cpp

Co-authored-by: Jonathan M. Waldrop <relik107@gmail.com>
@ryanmrichard ryanmrichard merged commit 2def6b3 into master Nov 22, 2025
7 checks passed
@ryanmrichard ryanmrichard deleted the wtf_integration branch November 22, 2025 16:29
@github-actions
Copy link
Contributor

🚀 [bumpr] Bumped!
New version:v0.0.71
Changes:v0.0.70...v0.0.71

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.

3 participants