• Home
  • Raw
  • Download

Lines Matching refs:cl_uint

60 #define MATRIX_A (cl_uint)0x9908b0dfUL /* constant vector a */
61 #define UPPER_MASK (cl_uint)0x80000000UL /* most significant w-r bits */
62 #define LOWER_MASK (cl_uint)0x7fffffffUL /* least significant r bits */
66 cl_uint mt[N];
68 cl_uint cache[N];
74 MTdata init_genrand(cl_uint s) in init_genrand()
79 cl_uint *mt = r->mt; in init_genrand()
84 mt[mti] = (cl_uint)( in init_genrand()
105 cl_uint genrand_int32(MTdata d) in genrand_int32()
108 static const cl_uint mag01[2] = { 0x0UL, MATRIX_A }; in genrand_int32()
113 cl_uint s[4]; in genrand_int32()
118 cl_uint *mt = d->mt; in genrand_int32()
119 cl_uint y; in genrand_int32()
135 c0.s[0] = c0.s[1] = c0.s[2] = c0.s[3] = (cl_uint)0x9d2c5680UL; in genrand_int32()
136 c1.s[0] = c1.s[1] = c1.s[2] = c1.s[3] = (cl_uint)0xefc60000UL; in genrand_int32()
168 y = (cl_uint)((mt[kk] & UPPER_MASK) | (mt[kk + 1] & LOWER_MASK)); in genrand_int32()
169 mt[kk] = mt[kk + M] ^ (y >> 1) ^ mag01[y & (cl_uint)0x1UL]; in genrand_int32()
176 y = (cl_uint)((mt[kk] & UPPER_MASK) | (mt[kk + 1] & LOWER_MASK)); in genrand_int32()
177 mt[kk] = mt[kk + (M - N)] ^ (y >> 1) ^ mag01[y & (cl_uint)0x1UL]; in genrand_int32()
206 y = (cl_uint)((mt[kk] & UPPER_MASK) | (mt[kk + 1] & LOWER_MASK)); in genrand_int32()
207 mt[kk] = mt[kk + (M - N)] ^ (y >> 1) ^ mag01[y & (cl_uint)0x1UL]; in genrand_int32()
209 y = (cl_uint)((mt[N - 1] & UPPER_MASK) | (mt[0] & LOWER_MASK)); in genrand_int32()
210 mt[N - 1] = mt[M - 1] ^ (y >> 1) ^ mag01[y & (cl_uint)0x1UL]; in genrand_int32()
239 y ^= (y << 7) & (cl_uint)0x9d2c5680UL; in genrand_int32()
240 y ^= (y << 15) & (cl_uint)0xefc60000UL; in genrand_int32()
250 return ((cl_ulong)genrand_int32(d) << 32) | (cl_uint)genrand_int32(d); in genrand_int64()