Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/dla ffi #57

Merged
merged 15 commits into from
Aug 19, 2024
Merged

Feat/dla ffi #57

merged 15 commits into from
Aug 19, 2024

Conversation

vilukissa68
Copy link
Collaborator

Adds FFI for DLA layer API to be used from C. This is necessary to run TVM acceleration since the TVM graph executor calls these bindings.

Copy link
Contributor

@hegza hegza left a comment

Choose a reason for hiding this comment

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

This is beautiful, perfect execution. Looks good to me. Merge when ready.

(input_tensor, kernels_tensor)
}

/// Initializes DLA by setting up necessary head allocator from headsail-bsp. This should be called only once in the program.
Copy link
Contributor

Choose a reason for hiding this comment

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

*heap allocator

@vilukissa68 vilukissa68 merged commit 55f6127 into soc-hub-fi:main Aug 19, 2024
6 checks passed
vilukissa68 added a commit that referenced this pull request Aug 19, 2024
#57 added C interface for DLA driver. This commit introduces a simple test case for the interface.
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