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.
This adds a much simpler IO functionality, based on external FFI calls. The commit message describes how it works.
@developedby This also has a new
demo_io
file which should replace the current built-in IO on Bend. I'm calling itIO_T
to avoid conflict, but it should be justIO
. I've designed it in a way that won't need to be changed as we add more IOs (and should be extensive later). There is also the issue of Bend consuming the output. Perhaps that's a moment for us to rework the output into something cleaner?@enricozb Could you kindly review and implement on CUDA? The old commit has most of the core functions needed (like reading needed data from GPU memory to CPU). So you can use these to implement the new standard.