/* Generated by Cython 3.0.2 */

#ifndef __PYX_HAVE__dpctl___sycl_device
#define __PYX_HAVE__dpctl___sycl_device

#include "Python.h"
struct Py_SyclDeviceObject;
struct PySyclDeviceObject;

/* "dpctl/_sycl_device.pxd":32
 * 
 * 
 * cdef public api class _SyclDevice [             # <<<<<<<<<<<<<<
 *     object Py_SyclDeviceObject,
 *     type Py_SyclDeviceType
 */
struct Py_SyclDeviceObject {
  PyObject_HEAD
  DPCTLSyclDeviceRef _device_ref;
  char const *_vendor;
  char const *_name;
  char const *_driver_version;
  size_t *_max_work_item_sizes;
};

/* "dpctl/_sycl_device.pxd":45
 * 
 * 
 * cdef public api class SyclDevice(_SyclDevice) [             # <<<<<<<<<<<<<<
 *     object PySyclDeviceObject,
 *     type PySyclDeviceType
 */
struct PySyclDeviceObject {
  struct Py_SyclDeviceObject __pyx_base;
  struct __pyx_vtabstruct_5dpctl_12_sycl_device_SyclDevice *__pyx_vtab;
};

#ifndef __PYX_HAVE_API__dpctl___sycl_device

#ifdef CYTHON_EXTERN_C
    #undef __PYX_EXTERN_C
    #define __PYX_EXTERN_C CYTHON_EXTERN_C
#elif defined(__PYX_EXTERN_C)
    #ifdef _MSC_VER
    #pragma message ("Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.")
    #else
    #warning Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.
    #endif
#else
    #define __PYX_EXTERN_C extern "C++"
#endif

#ifndef DL_IMPORT
  #define DL_IMPORT(_T) _T
#endif

__PYX_EXTERN_C DL_IMPORT(PyTypeObject) Py_SyclDeviceType;
__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PySyclDeviceType;

#endif /* !__PYX_HAVE_API__dpctl___sycl_device */

/* WARNING: the interface of the module init function changed in CPython 3.5. */
/* It now returns a PyModuleDef instance instead of a PyModule instance. */

#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC init_sycl_device(void);
#else
/* WARNING: Use PyImport_AppendInittab("_sycl_device", PyInit__sycl_device) instead of calling PyInit__sycl_device directly from Python 3.5 */
PyMODINIT_FUNC PyInit__sycl_device(void);

#if PY_VERSION_HEX >= 0x03050000 && (defined(__GNUC__) || defined(__clang__) || defined(_MSC_VER) || (defined(__cplusplus) && __cplusplus >= 201402L))
#if defined(__cplusplus) && __cplusplus >= 201402L
[[deprecated("Use PyImport_AppendInittab(\"_sycl_device\", PyInit__sycl_device) instead of calling PyInit__sycl_device directly.")]] inline
#elif defined(__GNUC__) || defined(__clang__)
__attribute__ ((__deprecated__("Use PyImport_AppendInittab(\"_sycl_device\", PyInit__sycl_device) instead of calling PyInit__sycl_device directly."), __unused__)) __inline__
#elif defined(_MSC_VER)
__declspec(deprecated("Use PyImport_AppendInittab(\"_sycl_device\", PyInit__sycl_device) instead of calling PyInit__sycl_device directly.")) __inline
#endif
static PyObject* __PYX_WARN_IF_PyInit__sycl_device_INIT_CALLED(PyObject* res) {
  return res;
}
#define PyInit__sycl_device() __PYX_WARN_IF_PyInit__sycl_device_INIT_CALLED(PyInit__sycl_device())
#endif
#endif

#endif /* !__PYX_HAVE__dpctl___sycl_device */
