Module ocl::async
[−]
[src]
Types related to futures and asynchrony.
Structs
FutureMemMap |
A future which resolves to a |
FutureRwGuard |
A future that resolves to a read or write guard after ensuring that the data being guarded is appropriately locked during the execution of an OpenCL command. |
MemMap |
A view of memory mapped by |
ReadGuard |
Allows access to the data contained within a lock just like a mutex guard. |
RwVec |
A locking |
WriteGuard |
Allows access to the data contained within just like a mutex guard. |
Enums
Error |
An enum containing either a |
Functions
err |
Creates a "leaf future" from an immediate value of a failed computation. |
ok |
Creates a "leaf future" from an immediate value of a finished and successful computation. |
result |
Creates a new "leaf future" which will resolve with the given result. |
Type Definitions
FutureReader | |
FutureResult | |
FutureWriter | |
Result |