122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
ADD_BOOL(@"Supports AVX-512 Float16 Instructions",
[OFSystemInfo supportsAVX512Float16Instructions]);
ADD_BOOL(@"Supports AVX-512 BFloat16 Instructions",
[OFSystemInfo supportsAVX512BFloat16Instructions]);
#endif
#ifdef OF_POWERPC
ADD_BOOL(@"[OFSystemInfo] Supports AltiVec",
[OFSystemInfo supportsAltiVec]);
#endif
#undef ADD
#undef ADD_UINT
#undef ADD_ULONGLONG
#undef ADD_BOOL
|
<
|
|
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
ADD_BOOL(@"Supports AVX-512 Float16 Instructions",
[OFSystemInfo supportsAVX512Float16Instructions]);
ADD_BOOL(@"Supports AVX-512 BFloat16 Instructions",
[OFSystemInfo supportsAVX512BFloat16Instructions]);
#endif
#ifdef OF_POWERPC
ADD_BOOL(@"Supports AltiVec", [OFSystemInfo supportsAltiVec]);
#endif
#undef ADD
#undef ADD_UINT
#undef ADD_ULONGLONG
#undef ADD_BOOL
|