Polaris Project
|
Functions | |
PolarisContext * | polaris_create_context (int devid) |
Create a polaris context object on a specific device. More... | |
void | polaris_destroy_context (PolarisContext *ctxt) |
Free and destroy a polaris context. More... | |
Functions related to operations of PolarisContext.
PolarisContext* polaris_create_context | ( | int | devid | ) |
Create a polaris context object on a specific device.
The device id can be obtained by calling polaris_get_devices(). Once the context is created, it cannot be moved to another device.
[in] | devid | Device id |
void polaris_destroy_context | ( | PolarisContext * | ctxt | ) |
Free and destroy a polaris context.
[in] | ctxt | Pointer to a PolarisContext object |