Loading...
Searching...
No Matches
Go to the documentation of this file.
37#ifndef __metalfeatures_dot_hpp
38#define __metalfeatures_dot_hpp
40#ifndef R123_STATIC_INLINE
41#define R123_STATIC_INLINE inline
44#ifndef R123_FORCE_INLINE
45#define R123_FORCE_INLINE(decl) decl __attribute__((always_inline))
48#ifndef R123_CUDA_DEVICE
49#define R123_CUDA_DEVICE
52#ifndef R123_METAL_THREAD_ADDRESS_SPACE
53#define R123_METAL_THREAD_ADDRESS_SPACE thread
56#ifndef R123_METAL_CONSTANT_ADDRESS_SPACE
57#define R123_METAL_CONSTANT_ADDRESS_SPACE constant
64#ifndef R123_BUILTIN_EXPECT
65#define R123_BUILTIN_EXPECT(expr, likely) expr
68#ifndef R123_USE_GNU_UINT128
69#define R123_USE_GNU_UINT128 0
72#ifndef R123_USE_MULHILO64_ASM
73#define R123_USE_MULHILO64_ASM 0
76#ifndef R123_USE_MULHILO64_MSVC_INTRIN
77#define R123_USE_MULHILO64_MSVC_INTRIN 0
80#ifndef R123_USE_MULHILO64_CUDA_INTRIN
81#define R123_USE_MULHILO64_CUDA_INTRIN 0
84#ifndef R123_USE_MULHILO64_OPENCL_INTRIN
85#define R123_USE_MULHILO64_OPENCL_INTRIN 0
88#ifndef R123_USE_MULHILO32_MULHI_INTRIN
89#define R123_USE_MULHILO32_MULHI_INTRIN 1
92#if R123_USE_MULHILO32_MULHI_INTRIN
93#include <metal_integer>
94#define R123_MULHILO32_MULHI_INTRIN metal::mulhi
97#ifndef R123_USE_AES_NI
98#define R123_USE_AES_NI 0
101#ifndef R123_USE_64BIT
102#define R123_USE_64BIT 0
105#ifndef R123_ULONG_LONG
108#define R123_ULONG_LONG unsigned int