Half.h 301 B

12345678
  1. #include <torch/headeronly/util/Half.h>
  2. // need to keep the following for BC because the APIs in here were exposed
  3. // before migrating Half to torch/headeronly
  4. #if (defined(CPU_CAPABILITY_AVX2) || defined(CPU_CAPABILITY_AVX512)) && \
  5. !defined(__APPLE__)
  6. #include <ATen/cpu/vec/vec_half.h>
  7. #endif