twitter-archive / torch-ipc

A set of primitives for parallel computation in Torch
Apache License 2.0
95 stars 28 forks source link

Serializing open HDF5 file #44

Open ili3p opened 7 years ago

ili3p commented 7 years ago

Is it possible to open a hdf5 file on the main thread and then have worker threads read concurrently from that file? At the end the main thread will close the file. Of course hdf5 will be compiled with --thread-safety.

If yes, how to do the serialization of the file?