Function pocky_context_from_device_list¶
Defined in File pocky_context.h
Function Documentation¶
-
PyObject *pocky_context_from_device_list(PyObject *self, PyObject *args)¶
Classmethod to create a context for a list of devices, as well as all their command queues.
- Parameters:
self – [in] Class reference
args – [in] Python arguments to be parsed; expects exactly one argument that must be a Python
PyList
object containing only Pythonpocky.ext.Device
structs
- Returns:
Python
pocky.ext.Context
object