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

Extend xscope_fileio example application with streaming data transport method #525

Open
keithm-xmos opened this issue Sep 28, 2022 · 0 comments

Comments

@keithm-xmos
Copy link
Contributor

Currently the only transport method demonstrated is XSCOPE_FILEIO. The XSCOPE_FILEIO method has one drawback. It requires the user to interpret the files on the XCORE device. Code for this may not be readily available or easy to port to XCORE. For example, HDF5 is a common array/tensor data file format, as are Python pickle archives. Libraries to read these file formats are readily available on x86.

A new transport method (XSCOPE_STREAMIO) could be easily added so raw data arrays can be streamed from the host to the device. With this, data stored in complex file formats can be read on the host and just processed on the XCORE.

The example application would be extended to support both methods with a configuration-time switch to select the desired method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant