20346, "jeremiah-corrado", "Should 'ioHintSet' support additional hints as type methods?", "2022-08-02T16:34:53Z"
The ioHintSet
type currently supports the following hints:
- sequential
- random
- prefetch
- mmap
However; there are a few other hints supported by the runtime which were not included in the original proposal (here: IO module: proposed changes to iohints · Issue #20141 · chapel-lang/chapel · GitHub):
- QIO_HINT_OWNED
- QIO_METHOD_PREADPWRITE
- QIO_HINT_PARALLEL
- QIO_CH_ALWAYS_UNBUFFERED
These are currently being imported and used via the ioHintSet.direct()
method. For example: