Function pocky_context_default

Function Documentation

PyObject *pocky_context_default(PyObject *self, PyObject *args)

Classmethod to create a context for the default platform and devices, as well as all their command queues.

Parameters:
  • self[in] Class reference

  • args[in] Python arguments to be parsed; any non-empty object is a fatal error

Returns:

Python pocky.ext.Context object