[PATCH 234/234] fix issue #1284
authorMichal Babej <michal.babej@intel.com>
Sat, 2 Dec 2023 20:01:34 +0000 (22:01 +0200)
committerAndreas Beckmann <anbe@debian.org>
Tue, 12 Dec 2023 15:33:19 +0000 (16:33 +0100)
Gbp-Pq: Name 0234-fix-issue-1284.patch

lib/kernel/sleef/include/sleef_cl.h

index 2cf889d6f00dbeef3e3e07a589851f9cb1061338..0ab9665507d2e128fedb4733e34242d3762c2248 100644 (file)
 
 #ifndef __OPENCL_VERSION__
 
-typedef int int2 __attribute__ ((__ext_vector_type__ (2)));
-typedef int int3 __attribute__ ((__ext_vector_type__ (3)));
-typedef int int4 __attribute__ ((__ext_vector_type__ (4)));
-typedef int int8 __attribute__ ((__ext_vector_type__ (8)));
-typedef int int16 __attribute__ ((__ext_vector_type__ (16)));
-
-typedef unsigned int uint;
-typedef uint uint2 __attribute__ ((__ext_vector_type__ (2)));
-typedef uint uint3 __attribute__ ((__ext_vector_type__ (3)));
-typedef uint uint4 __attribute__ ((__ext_vector_type__ (4)));
-typedef uint uint8 __attribute__ ((__ext_vector_type__ (8)));
-typedef uint uint16 __attribute__ ((__ext_vector_type__ (16)));
-
-typedef long long2 __attribute__ ((__ext_vector_type__ (2)));
-typedef long long3 __attribute__ ((__ext_vector_type__ (3)));
-typedef long long4 __attribute__ ((__ext_vector_type__ (4)));
-typedef long long8 __attribute__ ((__ext_vector_type__ (8)));
-typedef long long16 __attribute__ ((__ext_vector_type__ (16)));
-
-typedef unsigned long ulong;
-
-typedef ulong ulong2 __attribute__ ((__ext_vector_type__ (2)));
-typedef ulong ulong3 __attribute__ ((__ext_vector_type__ (3)));
-typedef ulong ulong4 __attribute__ ((__ext_vector_type__ (4)));
-typedef ulong ulong8 __attribute__ ((__ext_vector_type__ (8)));
-typedef ulong ulong16 __attribute__ ((__ext_vector_type__ (16)));
+typedef int32_t int2 __attribute__ ((__ext_vector_type__ (2)));
+typedef int32_t int3 __attribute__ ((__ext_vector_type__ (3)));
+typedef int32_t int4 __attribute__ ((__ext_vector_type__ (4)));
+typedef int32_t int8 __attribute__ ((__ext_vector_type__ (8)));
+typedef int32_t int16 __attribute__ ((__ext_vector_type__ (16)));
+
+typedef uint32_t uint;
+typedef uint32_t uint2 __attribute__ ((__ext_vector_type__ (2)));
+typedef uint32_t uint3 __attribute__ ((__ext_vector_type__ (3)));
+typedef uint32_t uint4 __attribute__ ((__ext_vector_type__ (4)));
+typedef uint32_t uint8 __attribute__ ((__ext_vector_type__ (8)));
+typedef uint32_t uint16 __attribute__ ((__ext_vector_type__ (16)));
+
+typedef int64_t long2 __attribute__ ((__ext_vector_type__ (2)));
+typedef int64_t long3 __attribute__ ((__ext_vector_type__ (3)));
+typedef int64_t long4 __attribute__ ((__ext_vector_type__ (4)));
+typedef int64_t long8 __attribute__ ((__ext_vector_type__ (8)));
+typedef int64_t long16 __attribute__ ((__ext_vector_type__ (16)));
+
+typedef uint64_t ulong;
+
+typedef uint64_t ulong2 __attribute__ ((__ext_vector_type__ (2)));
+typedef uint64_t ulong3 __attribute__ ((__ext_vector_type__ (3)));
+typedef uint64_t ulong4 __attribute__ ((__ext_vector_type__ (4)));
+typedef uint64_t ulong8 __attribute__ ((__ext_vector_type__ (8)));
+typedef uint64_t ulong16 __attribute__ ((__ext_vector_type__ (16)));
 
 typedef float float2 __attribute__ ((__ext_vector_type__ (2)));
 typedef float float3 __attribute__ ((__ext_vector_type__ (3)));