Skip to content
Browse files

libcoprthr: added type aliases to vcore.h needed to compile kcall wra…

  • Loading branch information...
1 parent 3736bff commit 7fbec2e5d52d7463fea6e9d54375281daeed038f @browndeer committed Feb 21, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/libcoprthr/vcore.h
8 src/libcoprthr/vcore.h
@@ -33,8 +33,16 @@
/* XXX this brings in the vec types. temporary soln. improve it. -DAR */
#include <CL/cl.h>
+typedef unsigned int uint;
+typedef cl_int2 int2;
typedef cl_int4 int4;
+typedef cl_uint2 uint2;
+typedef cl_uint4 uint4;
+typedef cl_long2 long2;
+typedef cl_ulong2 ulong2;
+typedef cl_float2 float2;
typedef cl_float4 float4;
+typedef cl_double2 double2;
#if defined(USE_FAST_SETJMP)

0 comments on commit 7fbec2e

Please sign in to comment.
Something went wrong with that request. Please try again.