-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[runtime] Add basic xDSL kernel compilation example
This PR implements a basic sample running an xDSL generated kernel in a snitch cluster. The code currently has to be executed by a compute core (as the kernels are executed by the same caller core) and the memory allocated in L1 as that is required by streaming registers. The quidditch device was reverted to just be a fork of the `local-sync` device as the current plan is to leverage parallelism inside one cluster within a kernel for now.
- Loading branch information
Showing
14 changed files
with
1,217 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
add_subdirectory(registration) | ||
|
||
iree_cc_library( | ||
NAME | ||
device | ||
SRCS | ||
device.c | ||
DEPS | ||
iree::base | ||
PUBLIC | ||
NAME | ||
device | ||
SRCS | ||
device.c | ||
event.c | ||
semaphore.c | ||
DEPS | ||
snRuntime | ||
iree::base | ||
iree::base::internal | ||
iree::base::internal::arena | ||
iree::base::internal::synchronization | ||
iree::hal::utils::deferred_command_buffer | ||
iree::hal::utils::file_transfer | ||
iree::hal::utils::memory_file | ||
iree::hal::utils::semaphore_base | ||
PUBLIC | ||
) |
Oops, something went wrong.