1
0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-09-25 03:48:17 +02:00

one more warning

This commit is contained in:
Jack O'Connor 2020-01-28 13:26:37 -05:00
parent d980514c44
commit 4304cd1085

View File

@ -282,8 +282,8 @@ void blake3_hash_many(const uint8_t *const *inputs, size_t num_inputs,
// The dynamically detected SIMD degree of the current platform. // The dynamically detected SIMD degree of the current platform.
size_t blake3_simd_degree() { size_t blake3_simd_degree() {
const enum cpu_feature features = get_cpu_features();
#if defined(IS_X86) #if defined(IS_X86)
const enum cpu_feature features = get_cpu_features();
#if !defined(BLAKE3_NO_AVX512) #if !defined(BLAKE3_NO_AVX512)
if (features & AVX512F) { if (features & AVX512F) {
return 16; return 16;