File size: 268 Bytes
d1ceb73 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#pragma once
#include <c10/macros/Export.h>
namespace at::cpu {
TORCH_API bool is_cpu_support_avx2();
TORCH_API bool is_cpu_support_avx512();
// Detect if CPU support Vector Neural Network Instruction.
TORCH_API bool is_cpu_support_vnni();
} // namespace at::cpu
|