calebwin / emu

The write-once-run-anywhere GPGPU library for Rust
https://calebwin.github.io/emu
MIT License
1.59k stars 53 forks source link

file io operations from within emu kernel functions #26

Open omac777 opened 4 years ago

omac777 commented 4 years ago

I read about gpufs. It has a capability to access files from within gpu kernel functions. Are there any plans to provide file io apis from within emu's gpu kernel functions? i.e. open file, create file, write/read, close.

Thank you for listening.

calebwin commented 4 years ago

GPUfs is implemented for CUDA. I could look into it but until OpenCL supports it, I probably won't either.

Also, there are many algorithms that can't even be implemented at the moment with Emu because of limited support for things like variables, if/else, for loops so I would rather we focus on that.