summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
new file mode 100644
index 0000000..c6f8f51
--- /dev/null
+++ b/src/device.h
@@ -0,0 +1,12 @@
+#ifndef DEVICE_H
+#define DEVICE_H
+
+#include "OpenCL/cl.h"
+
+struct _cl_device_id {
+ struct pipe_screen *screen;
+
+ cl_uint type;
+};
+
+#endif