Skip to content

Conversation

@tkarna
Copy link
Contributor

@tkarna tkarna commented Nov 18, 2025

Implements #16.

  • Adds a Workload object and execution engine utility functions that can execute it.
  • Adds two CPU examples that demonstrate the usage
    • One that allocates input data with NumPy and another that uses MLIR helper functions to allocate/fill/deallocate input memrefs.

Copy link
Contributor

@rolfmorel rolfmorel left a comment

Choose a reason for hiding this comment

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

Here's a partial pass through it. Will try to complete the first pass through tomorrow!

@tkarna tkarna marked this pull request as ready for review December 4, 2025 14:41
Copy link
Contributor

@rolfmorel rolfmorel left a comment

Choose a reason for hiding this comment

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

Have left a couple more medium-level comments.

We are getting close to this being ready, IMO.

Copy link
Contributor

@rolfmorel rolfmorel left a comment

Choose a reason for hiding this comment

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

I am happy for this to go in!

Left a couple comment chains "unresolved" just as a reminder regarding things we can look into as we iterate in-tree. With more use of this interface we will find out how best to evolve it. 👍

Thank you, @tkarna !

@tkarna tkarna merged commit 5c71634 into llvm:main Dec 9, 2025
3 checks passed
@tkarna tkarna deleted the workload branch December 9, 2025 17:53
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.

2 participants