cpu_types.hpp 285 B

123456789101112131415
  1. #ifndef CPU_TYPES_HPP
  2. #define CPU_TYPES_HPP
  3. #if defined(__x86_64__)
  4. //x86 implementation
  5. #include "cpu_types_x86.hpp"
  6. #elif defined(__POWER9_VECTOR__)
  7. //ppc implementation
  8. #include "cpu_types_vsx.hpp"
  9. #else
  10. #warning "unsupported Aphrodite cpu implementation"
  11. #endif
  12. #endif