commit | 1dadbf71d9e2468dad817bcb66e0b6bd7279b980 | [log] [tgz] |
---|---|---|
author | Marat Dukhan <maratek@google.com> | Tue Oct 01 10:46:20 2019 -0700 |
committer | XNNPACK Team <xnnpack-github-robot@google.com> | Tue Oct 01 10:46:41 2019 -0700 |
tree | 89d71950b3a0eb6920da8a317afd39b96ea7aa32 | |
parent | 629a33eef8ef2fa86764a16da85a4770f3898953 [diff] [blame] |
Limit direct dependencies on cpuinfo PiperOrigin-RevId: 272245408
diff --git a/src/xnnpack/isa-checks.h b/src/xnnpack/isa-checks.h index 0bdf97c..e4aebd6 100644 --- a/src/xnnpack/isa-checks.h +++ b/src/xnnpack/isa-checks.h
@@ -10,8 +10,10 @@ #include <cpuinfo.h> +#include <xnnpack/common.h> -#if CPUINFO_ARCH_PNACL || CPUINFO_ARCH_WASMSIMD + +#if XNN_ARCH_PNACL || XNN_ARCH_WASMSIMD #define TEST_REQUIRES_PSIMD #else #define TEST_REQUIRES_PSIMD \