Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Structure used for scatter/gather data output. You generally pass in an array of #GOutputVectors and the operation will use all the buffers as if they were one buffer.
- newtype OutputVector = OutputVector (ForeignPtr OutputVector)
- newZeroOutputVector :: MonadIO m => m OutputVector
- noOutputVector :: Maybe OutputVector
- outputVectorReadBuffer :: OutputVector -> IO (Ptr ())
- outputVectorReadSize :: OutputVector -> IO Word64
Exported types
newtype OutputVector Source
((~) * info (ResolveOutputVectorMethod t OutputVector), MethodInfo * info OutputVector p) => IsLabel t (OutputVector -> p) Source | |
((~) * info (ResolveOutputVectorMethod t OutputVector), MethodInfo * info OutputVector p) => IsLabelProxy t (OutputVector -> p) Source | |
newZeroOutputVector :: MonadIO m => m OutputVector Source
Construct a OutputVector
struct initialized to zero.
Properties
Buffer
outputVectorReadBuffer :: OutputVector -> IO (Ptr ()) Source