pyopencl 2026.1.1__cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. pyopencl/.libs/libOpenCL-34a55fe4.so.1.0.0 +0 -0
  2. pyopencl/__init__.py +1995 -0
  3. pyopencl/_cl.cpython-314t-aarch64-linux-gnu.so +0 -0
  4. pyopencl/_cl.pyi +2009 -0
  5. pyopencl/_cluda.py +57 -0
  6. pyopencl/_monkeypatch.py +1104 -0
  7. pyopencl/_mymako.py +17 -0
  8. pyopencl/algorithm.py +1454 -0
  9. pyopencl/array.py +3530 -0
  10. pyopencl/bitonic_sort.py +245 -0
  11. pyopencl/bitonic_sort_templates.py +597 -0
  12. pyopencl/cache.py +553 -0
  13. pyopencl/capture_call.py +200 -0
  14. pyopencl/characterize/__init__.py +461 -0
  15. pyopencl/characterize/performance.py +240 -0
  16. pyopencl/cl/pyopencl-airy.cl +324 -0
  17. pyopencl/cl/pyopencl-bessel-j-complex.cl +238 -0
  18. pyopencl/cl/pyopencl-bessel-j.cl +1084 -0
  19. pyopencl/cl/pyopencl-bessel-y.cl +435 -0
  20. pyopencl/cl/pyopencl-complex.h +303 -0
  21. pyopencl/cl/pyopencl-eval-tbl.cl +120 -0
  22. pyopencl/cl/pyopencl-hankel-complex.cl +444 -0
  23. pyopencl/cl/pyopencl-random123/array.h +325 -0
  24. pyopencl/cl/pyopencl-random123/openclfeatures.h +93 -0
  25. pyopencl/cl/pyopencl-random123/philox.cl +486 -0
  26. pyopencl/cl/pyopencl-random123/threefry.cl +864 -0
  27. pyopencl/clmath.py +281 -0
  28. pyopencl/clrandom.py +412 -0
  29. pyopencl/cltypes.py +217 -0
  30. pyopencl/compyte/.gitignore +21 -0
  31. pyopencl/compyte/__init__.py +0 -0
  32. pyopencl/compyte/array.py +211 -0
  33. pyopencl/compyte/dtypes.py +314 -0
  34. pyopencl/compyte/pyproject.toml +49 -0
  35. pyopencl/elementwise.py +1288 -0
  36. pyopencl/invoker.py +417 -0
  37. pyopencl/ipython_ext.py +70 -0
  38. pyopencl/py.typed +0 -0
  39. pyopencl/reduction.py +829 -0
  40. pyopencl/scan.py +1921 -0
  41. pyopencl/tools.py +1680 -0
  42. pyopencl/typing.py +61 -0
  43. pyopencl/version.py +11 -0
  44. pyopencl-2026.1.1.dist-info/METADATA +108 -0
  45. pyopencl-2026.1.1.dist-info/RECORD +47 -0
  46. pyopencl-2026.1.1.dist-info/WHEEL +6 -0
  47. pyopencl-2026.1.1.dist-info/licenses/LICENSE +104 -0
@@ -0,0 +1,325 @@
1
+ /*
2
+ Copyright 2010-2011, D. E. Shaw Research.
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are
7
+ met:
8
+
9
+ * Redistributions of source code must retain the above copyright
10
+ notice, this list of conditions, and the following disclaimer.
11
+
12
+ * Redistributions in binary form must reproduce the above copyright
13
+ notice, this list of conditions, and the following disclaimer in the
14
+ documentation and/or other materials provided with the distribution.
15
+
16
+ * Neither the name of D. E. Shaw Research nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
+ */
32
+ #ifndef _r123array_dot_h__
33
+ #define _r123array_dot_h__
34
+ #include "openclfeatures.h"
35
+
36
+ #ifndef __cplusplus
37
+ #define CXXMETHODS(_N, W, T)
38
+ #define CXXOVERLOADS(_N, W, T)
39
+ #else
40
+
41
+ #include <stddef.h>
42
+ #include <algorithm>
43
+ #include <stdexcept>
44
+ #include <iterator>
45
+ #include <limits>
46
+ #include <iostream>
47
+
48
+ /** @defgroup arrayNxW The r123arrayNxW classes
49
+
50
+ Each of the r123arrayNxW is a fixed size array of N W-bit unsigned integers.
51
+ It is functionally equivalent to the C++0x std::array<N, uintW_t>,
52
+ but does not require C++0x features or libraries.
53
+
54
+ In addition to meeting most of the requirements of a Container,
55
+ it also has a member function, incr(), which increments the zero-th
56
+ element and carrys overflows into higher indexed elements. Thus,
57
+ by using incr(), sequences of up to 2^(N*W) distinct values
58
+ can be produced.
59
+
60
+ If SSE is supported by the compiler, then the class
61
+ r123array1xm128i is also defined, in which the data member is an
62
+ array of one r123128i object.
63
+
64
+ @cond HIDDEN_FROM_DOXYGEN
65
+ */
66
+
67
+ template <typename value_type>
68
+ inline R123_CUDA_DEVICE value_type assemble_from_u32(uint32_t *p32){
69
+ value_type v=0;
70
+ for(size_t i=0; i<(3+sizeof(value_type))/4; ++i)
71
+ v |= ((value_type)(*p32++)) << (32*i);
72
+ return v;
73
+ }
74
+
75
+ // Work-alike methods and typedefs modeled on std::array:
76
+ #define CXXMETHODS(_N, W, T) \
77
+ typedef T value_type; \
78
+ typedef T* iterator; \
79
+ typedef const T* const_iterator; \
80
+ typedef value_type& reference; \
81
+ typedef const value_type& const_reference; \
82
+ typedef size_t size_type; \
83
+ typedef ptrdiff_t difference_type; \
84
+ typedef T* pointer; \
85
+ typedef const T* const_pointer; \
86
+ typedef std::reverse_iterator<iterator> reverse_iterator; \
87
+ typedef std::reverse_iterator<const_iterator> const_reverse_iterator; \
88
+ /* Boost.array has static_size. C++11 specializes tuple_size */ \
89
+ enum {static_size = _N}; \
90
+ R123_CUDA_DEVICE reference operator[](size_type i){return v[i];} \
91
+ R123_CUDA_DEVICE const_reference operator[](size_type i) const {return v[i];} \
92
+ R123_CUDA_DEVICE reference at(size_type i){ if(i >= _N) R123_THROW(std::out_of_range("array index out of range")); return (*this)[i]; } \
93
+ R123_CUDA_DEVICE const_reference at(size_type i) const { if(i >= _N) R123_THROW(std::out_of_range("array index out of range")); return (*this)[i]; } \
94
+ R123_CUDA_DEVICE size_type size() const { return _N; } \
95
+ R123_CUDA_DEVICE size_type max_size() const { return _N; } \
96
+ R123_CUDA_DEVICE bool empty() const { return _N==0; }; \
97
+ R123_CUDA_DEVICE iterator begin() { return &v[0]; } \
98
+ R123_CUDA_DEVICE iterator end() { return &v[_N]; } \
99
+ R123_CUDA_DEVICE const_iterator begin() const { return &v[0]; } \
100
+ R123_CUDA_DEVICE const_iterator end() const { return &v[_N]; } \
101
+ R123_CUDA_DEVICE const_iterator cbegin() const { return &v[0]; } \
102
+ R123_CUDA_DEVICE const_iterator cend() const { return &v[_N]; } \
103
+ R123_CUDA_DEVICE reverse_iterator rbegin(){ return reverse_iterator(end()); } \
104
+ R123_CUDA_DEVICE const_reverse_iterator rbegin() const{ return const_reverse_iterator(end()); } \
105
+ R123_CUDA_DEVICE reverse_iterator rend(){ return reverse_iterator(begin()); } \
106
+ R123_CUDA_DEVICE const_reverse_iterator rend() const{ return const_reverse_iterator(begin()); } \
107
+ R123_CUDA_DEVICE const_reverse_iterator crbegin() const{ return const_reverse_iterator(cend()); } \
108
+ R123_CUDA_DEVICE const_reverse_iterator crend() const{ return const_reverse_iterator(cbegin()); } \
109
+ R123_CUDA_DEVICE pointer data(){ return &v[0]; } \
110
+ R123_CUDA_DEVICE const_pointer data() const{ return &v[0]; } \
111
+ R123_CUDA_DEVICE reference front(){ return v[0]; } \
112
+ R123_CUDA_DEVICE const_reference front() const{ return v[0]; } \
113
+ R123_CUDA_DEVICE reference back(){ return v[_N-1]; } \
114
+ R123_CUDA_DEVICE const_reference back() const{ return v[_N-1]; } \
115
+ R123_CUDA_DEVICE bool operator==(const r123array##_N##x##W& rhs) const{ \
116
+ /* CUDA3 does not have std::equal */ \
117
+ for (size_t i = 0; i < _N; ++i) \
118
+ if (v[i] != rhs.v[i]) return false; \
119
+ return true; \
120
+ } \
121
+ R123_CUDA_DEVICE bool operator!=(const r123array##_N##x##W& rhs) const{ return !(*this == rhs); } \
122
+ /* CUDA3 does not have std::fill_n */ \
123
+ R123_CUDA_DEVICE void fill(const value_type& val){ for (size_t i = 0; i < _N; ++i) v[i] = val; } \
124
+ R123_CUDA_DEVICE void swap(r123array##_N##x##W& rhs){ \
125
+ /* CUDA3 does not have std::swap_ranges */ \
126
+ for (size_t i = 0; i < _N; ++i) { \
127
+ T tmp = v[i]; \
128
+ v[i] = rhs.v[i]; \
129
+ rhs.v[i] = tmp; \
130
+ } \
131
+ } \
132
+ R123_CUDA_DEVICE r123array##_N##x##W& incr(R123_ULONG_LONG n=1){ \
133
+ /* This test is tricky because we're trying to avoid spurious \
134
+ complaints about illegal shifts, yet still be compile-time \
135
+ evaulated. */ \
136
+ if(sizeof(T)<sizeof(n) && n>>((sizeof(T)<sizeof(n))?8*sizeof(T):0) ) \
137
+ return incr_carefully(n); \
138
+ if(n==1){ \
139
+ ++v[0]; \
140
+ if(_N==1 || R123_BUILTIN_EXPECT(!!v[0], 1)) return *this; \
141
+ }else{ \
142
+ v[0] += n; \
143
+ if(_N==1 || R123_BUILTIN_EXPECT(n<=v[0], 1)) return *this; \
144
+ } \
145
+ /* We expect that the N==?? tests will be \
146
+ constant-folded/optimized away by the compiler, so only the \
147
+ overflow tests (!!v[i]) remain to be done at runtime. For \
148
+ small values of N, it would be better to do this as an \
149
+ unconditional sequence of adc. An experiment/optimization \
150
+ for another day... \
151
+ N.B. The weird subscripting: v[_N>3?3:0] is to silence \
152
+ a spurious error from icpc \
153
+ */ \
154
+ ++v[_N>1?1:0]; \
155
+ if(_N==2 || R123_BUILTIN_EXPECT(!!v[_N>1?1:0], 1)) return *this; \
156
+ ++v[_N>2?2:0]; \
157
+ if(_N==3 || R123_BUILTIN_EXPECT(!!v[_N>2?2:0], 1)) return *this; \
158
+ ++v[_N>3?3:0]; \
159
+ for(size_t i=4; i<_N; ++i){ \
160
+ if( R123_BUILTIN_EXPECT(!!v[i-1], 1) ) return *this; \
161
+ ++v[i]; \
162
+ } \
163
+ return *this; \
164
+ } \
165
+ /* seed(SeedSeq) would be a constructor if having a constructor */ \
166
+ /* didn't cause headaches with defaults */ \
167
+ template <typename SeedSeq> \
168
+ R123_CUDA_DEVICE static r123array##_N##x##W seed(SeedSeq &ss){ \
169
+ r123array##_N##x##W ret; \
170
+ const size_t Ngen = _N*((3+sizeof(value_type))/4); \
171
+ uint32_t u32[Ngen]; \
172
+ uint32_t *p32 = &u32[0]; \
173
+ ss.generate(&u32[0], &u32[Ngen]); \
174
+ for(size_t i=0; i<_N; ++i){ \
175
+ ret.v[i] = assemble_from_u32<value_type>(p32); \
176
+ p32 += (3+sizeof(value_type))/4; \
177
+ } \
178
+ return ret; \
179
+ } \
180
+ protected: \
181
+ R123_CUDA_DEVICE r123array##_N##x##W& incr_carefully(R123_ULONG_LONG n){ \
182
+ /* n may be greater than the maximum value of a single value_type */ \
183
+ value_type vtn; \
184
+ vtn = n; \
185
+ v[0] += n; \
186
+ const unsigned rshift = 8* ((sizeof(n)>sizeof(value_type))? sizeof(value_type) : 0); \
187
+ for(size_t i=1; i<_N; ++i){ \
188
+ if(rshift){ \
189
+ n >>= rshift; \
190
+ }else{ \
191
+ n=0; \
192
+ } \
193
+ if( v[i-1] < vtn ) \
194
+ ++n; \
195
+ if( n==0 ) break; \
196
+ vtn = n; \
197
+ v[i] += n; \
198
+ } \
199
+ return *this; \
200
+ } \
201
+
202
+
203
+ // There are several tricky considerations for the insertion and extraction
204
+ // operators:
205
+ // - we would like to be able to print r123array16x8 as a sequence of 16 integers,
206
+ // not as 16 bytes.
207
+ // - we would like to be able to print r123array1xm128i.
208
+ // - we do not want an int conversion operator in r123m128i because it causes
209
+ // lots of ambiguity problems with automatic promotions.
210
+ // Solution: r123arrayinsertable and r123arrayextractable
211
+
212
+ template<typename T>
213
+ struct r123arrayinsertable{
214
+ const T& v;
215
+ r123arrayinsertable(const T& t_) : v(t_) {}
216
+ friend std::ostream& operator<<(std::ostream& os, const r123arrayinsertable<T>& t){
217
+ return os << t.v;
218
+ }
219
+ };
220
+
221
+ template<>
222
+ struct r123arrayinsertable<uint8_t>{
223
+ const uint8_t& v;
224
+ r123arrayinsertable(const uint8_t& t_) : v(t_) {}
225
+ friend std::ostream& operator<<(std::ostream& os, const r123arrayinsertable<uint8_t>& t){
226
+ return os << (int)t.v;
227
+ }
228
+ };
229
+
230
+ template<typename T>
231
+ struct r123arrayextractable{
232
+ T& v;
233
+ r123arrayextractable(T& t_) : v(t_) {}
234
+ friend std::istream& operator>>(std::istream& is, r123arrayextractable<T>& t){
235
+ return is >> t.v;
236
+ }
237
+ };
238
+
239
+ template<>
240
+ struct r123arrayextractable<uint8_t>{
241
+ uint8_t& v;
242
+ r123arrayextractable(uint8_t& t_) : v(t_) {}
243
+ friend std::istream& operator>>(std::istream& is, r123arrayextractable<uint8_t>& t){
244
+ int i;
245
+ is >> i;
246
+ t.v = i;
247
+ return is;
248
+ }
249
+ };
250
+
251
+ #define CXXOVERLOADS(_N, W, T) \
252
+ \
253
+ inline std::ostream& operator<<(std::ostream& os, const r123array##_N##x##W& a){ \
254
+ os << r123arrayinsertable<T>(a.v[0]); \
255
+ for(size_t i=1; i<_N; ++i) \
256
+ os << " " << r123arrayinsertable<T>(a.v[i]); \
257
+ return os; \
258
+ } \
259
+ \
260
+ inline std::istream& operator>>(std::istream& is, r123array##_N##x##W& a){ \
261
+ for(size_t i=0; i<_N; ++i){ \
262
+ r123arrayextractable<T> x(a.v[i]); \
263
+ is >> x; \
264
+ } \
265
+ return is; \
266
+ } \
267
+ \
268
+ namespace r123{ \
269
+ typedef r123array##_N##x##W Array##_N##x##W; \
270
+ }
271
+
272
+ #endif /* __cplusplus */
273
+
274
+ /* _r123array_tpl expands to a declaration of struct r123arrayNxW.
275
+
276
+ In C, it's nothing more than a struct containing an array of N
277
+ objects of type T.
278
+
279
+ In C++ it's the same, but endowed with an assortment of member
280
+ functions, typedefs and friends. In C++, r123arrayNxW looks a lot
281
+ like std::array<T,N>, has most of the capabilities of a container,
282
+ and satisfies the requirements outlined in compat/Engine.hpp for
283
+ counter and key types. ArrayNxW, in the r123 namespace is
284
+ a typedef equivalent to r123arrayNxW.
285
+ */
286
+
287
+ #define _r123array_tpl(_N, W, T) \
288
+ /** @ingroup arrayNxW */ \
289
+ /** @see arrayNxW */ \
290
+ struct r123array##_N##x##W{ \
291
+ T v[_N]; \
292
+ CXXMETHODS(_N, W, T) \
293
+ }; \
294
+ \
295
+ CXXOVERLOADS(_N, W, T)
296
+
297
+ /** @endcond */
298
+
299
+ _r123array_tpl(1, 32, uint32_t) /* r123array1x32 */
300
+ _r123array_tpl(2, 32, uint32_t) /* r123array2x32 */
301
+ _r123array_tpl(4, 32, uint32_t) /* r123array4x32 */
302
+ _r123array_tpl(8, 32, uint32_t) /* r123array8x32 */
303
+
304
+ _r123array_tpl(1, 64, uint64_t) /* r123array1x64 */
305
+ _r123array_tpl(2, 64, uint64_t) /* r123array2x64 */
306
+ _r123array_tpl(4, 64, uint64_t) /* r123array4x64 */
307
+
308
+ _r123array_tpl(16, 8, uint8_t) /* r123array16x8 for ARSsw, AESsw */
309
+
310
+ #if R123_USE_SSE
311
+ _r123array_tpl(1, m128i, r123m128i) /* r123array1x128i for ARSni, AESni */
312
+ #endif
313
+
314
+ /* In C++, it's natural to use sizeof(a::value_type), but in C it's
315
+ pretty convoluted to figure out the width of the value_type of an
316
+ r123arrayNxW:
317
+ */
318
+ #define R123_W(a) (8*sizeof(((a *)0)->v[0]))
319
+
320
+ /** @namespace r123
321
+ Most of the Random123 C++ API is contained in the r123 namespace.
322
+ */
323
+
324
+ #endif
325
+
@@ -0,0 +1,93 @@
1
+ /*
2
+ Copyright 2010-2011, D. E. Shaw Research.
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are
7
+ met:
8
+
9
+ * Redistributions of source code must retain the above copyright
10
+ notice, this list of conditions, and the following disclaimer.
11
+
12
+ * Redistributions in binary form must reproduce the above copyright
13
+ notice, this list of conditions, and the following disclaimer in the
14
+ documentation and/or other materials provided with the distribution.
15
+
16
+ * Neither the name of D. E. Shaw Research nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
+ */
32
+ #ifndef __openclfeatures_dot_hpp
33
+ #define __openclfeatures_dot_hpp
34
+
35
+ #ifndef R123_STATIC_INLINE
36
+ #define R123_STATIC_INLINE inline
37
+ #endif
38
+
39
+ #ifndef R123_FORCE_INLINE
40
+ #define R123_FORCE_INLINE(decl) decl __attribute__((always_inline))
41
+ #endif
42
+
43
+ #ifndef R123_CUDA_DEVICE
44
+ #define R123_CUDA_DEVICE
45
+ #endif
46
+
47
+ #ifndef R123_ASSERT
48
+ #define R123_ASSERT(x)
49
+ #endif
50
+
51
+ #ifndef R123_BUILTIN_EXPECT
52
+ #define R123_BUILTIN_EXPECT(expr,likely) expr
53
+ #endif
54
+
55
+ #ifndef R123_USE_GNU_UINT128
56
+ #define R123_USE_GNU_UINT128 0
57
+ #endif
58
+
59
+ #ifndef R123_USE_MULHILO64_ASM
60
+ #define R123_USE_MULHILO64_ASM 0
61
+ #endif
62
+
63
+ #ifndef R123_USE_MULHILO64_MSVC_INTRIN
64
+ #define R123_USE_MULHILO64_MSVC_INTRIN 0
65
+ #endif
66
+
67
+ #ifndef R123_USE_MULHILO64_CUDA_INTRIN
68
+ #define R123_USE_MULHILO64_CUDA_INTRIN 0
69
+ #endif
70
+
71
+ #ifndef R123_USE_MULHILO64_OPENCL_INTRIN
72
+ #ifdef PYOPENCL_USING_OCLGRIND
73
+ #define R123_USE_MULHILO64_OPENCL_INTRIN 0
74
+ #else
75
+ #define R123_USE_MULHILO64_OPENCL_INTRIN 1
76
+ #endif
77
+ #endif
78
+
79
+ #ifndef R123_USE_AES_NI
80
+ #define R123_USE_AES_NI 0
81
+ #endif
82
+
83
+ // XXX ATI APP SDK 2.4 clBuildProgram SEGVs if one uses uint64_t instead of
84
+ // ulong to mul_hi. And gets lots of complaints from stdint.h
85
+ // on some machines.
86
+ // But these typedefs mean we cannot include stdint.h with
87
+ // these headers? Do we need R123_64T, R123_32T, R123_8T?
88
+ typedef ulong uint64_t;
89
+ typedef uint uint32_t;
90
+ typedef uchar uint8_t;
91
+ #define UINT64_C(x) ((ulong)(x##UL))
92
+
93
+ #endif