oneAPI backend update: kernel and layer optimizations#1218
Closed
haoyanwa wants to merge 12 commits intofastmachinelearning:mainfrom
Closed
oneAPI backend update: kernel and layer optimizations#1218haoyanwa wants to merge 12 commits intofastmachinelearning:mainfrom
haoyanwa wants to merge 12 commits intofastmachinelearning:mainfrom
Conversation
jmitrevs
requested changes
Mar 6, 2025
| 'WriteTar': write_tar, | ||
| } | ||
|
|
||
| if 'use_bsp' in _: |
Contributor
There was a problem hiding this comment.
We should probably extract this as an actual parameter (and add info about it in the docstring). The _ are generally meant to be ignored, I think. We should also use the same capitalization convention. Also, I am not sure I see how this is used. I saw the define in the C++, but not if this is used to set the define (though I may have missed it.)
7 tasks
Contributor
|
Replaced by #1246, with the branch in the main repository |
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of change
This PR introduces improvements to the oneAPI inference backend, focusing on:
Sideband Signal Support
Updated Dense and ReLU Layer for Always-Running Execution
sop/eopsideband signals for synchronization.whileloop for always-on kernel execution.Added DMA Kernels for Hardware Execution
DMA_convert_dataandDMA_convert_data_backmove data between host and FPGA efficiently.Utility Functions for Compile-Time Type Extraction
Tests
Tested the updated layers in emulation, simulation, and hardware run. Tests conducted by generating the project file using the oneAPI backend code generator, and compiling for the binary using cmake.
Test Configuration:
setvarsscript.Checklist
pre-commiton the files I edited or added.