Add streaming API for remaining FPGA functions. #1118
Merged
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.
What does this Pull Request accomplish?
This PR adds support for the remaining FPGA APIs.
Why should this Pull Request be merged?
What testing has been done?
Streaming functions get called correctly, and the data is read/written correctly. This is one example where I read/write data in an indicator in the loop. (I have tested this for normal i32 type, but it will still work for other types as implementation is same internally) This is for scaler.
![image](https://private-user-images.githubusercontent.com/97939637/385837290-e62de993-8d62-47cd-aad5-0e95424025c3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzM0NzAsIm5iZiI6MTczOTE3MzE3MCwicGF0aCI6Ii85NzkzOTYzNy8zODU4MzcyOTAtZTYyZGU5OTMtOGQ2Mi00N2NkLWFhZDUtMGU5NTQyNDAyNWMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA3MzkzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhMzgyM2ZmOGFhZWI2M2Q4NmNlZDBmMWFiM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