Program Listing for File pocky.h

Return to documentation for file (src/pocky/ext/include/pocky.h)

#ifndef POCKY_H
#define POCKY_H

#define PY_SSIZE_T_CLEAN

#include <Python.h>

#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION

#define CL_TARGET_OPENCL_VERSION    (300)

#include <CL/opencl.h>

extern PyObject *pocky_ocl_error;

extern PyTypeObject *pocky_platform_type;

extern PyTypeObject *pocky_device_type;

#include "pocky_context.h"
#include "pocky_bufpair.h"
#include "pocky_functions.h"
#include "pocky_helpers.h"
#include "pocky_utils.h"

#endif      /* POCKY_H */

/* vim: set ft=c.doxygen: */