Functions to create or modify library state.
More...
|
struct | clsparseCreateResult |
| A structure returned by value from the clsparseCreateControl function. This serves as result/status pair for the creation operation. More...
|
|
struct | clsparseEventResult |
| A structure returned by value from the clsparseGetEvent function. This serves as result/status pair for the creation operation. More...
|
|
|
typedef struct _clsparseControl * | clsparseControl |
| clsparseControl keeps OpenCL state like kernel execution, memory allocation and synchronization behavior More...
|
|
Functions to create or modify library state.
clsparseControl keeps OpenCL state like kernel execution, memory allocation and synchronization behavior
Struct implementation hidden to clients using C PIMPL idiom to make private to library
Enable/Disable asynchronous behavior for clSPARSE.
- Parameters
-
[in] | control | A valid clsparseControl created with clsparseCreateControl |
[in] | async | True to enable immediate return, false to block execution until event completion |
- Returns
- clsparseSuccess
Enable/Disable the use of compensated summation.
- Note
- This currently only controls the precision of SpM-dV
- Parameters
-
[in] | control | A valid clsparseControl created with clsparseCreateControl |
[in] | extPrecision | True to enable extended precision, false for fast precision |
- Returns
- clsparseSuccess
Return an event from the last kernel execution.
- Parameters
-
[in] | control | A valid clsparseControl created with clsparseCreateControl |
- Returns
- A clsparseEventResult which contains a return code and result handle