Function pocky_context_from_device_list

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 Python pocky.ext.Device structs

Returns:

Python pocky.ext.Context object