Permalink
Browse files

libcoprthr: added a few typedefs to vcore.h

  • Loading branch information...
browndeer committed Mar 2, 2012
1 parent 8d1e7fa commit fa7eabedccfc18da32486ff7c9e3378bffd2d4bf
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/libcoprthr/vcore.h
View
@@ -33,7 +33,12 @@
#else
/* XXX this brings in the vec types. temporary soln. improve it. -DAR */
#include <CL/cl.h>
+typedef unsigned char uchar;
typedef unsigned int uint;
+typedef cl_char2 char2;
+typedef cl_char4 char4;
+typedef cl_uchar2 uchar2;
+typedef cl_uchar4 uchar4;
typedef cl_int2 int2;
typedef cl_int4 int4;
typedef cl_uint2 uint2;

0 comments on commit fa7eabe

Please sign in to comment.