mkql_isa_detection_ut.cpp 363 B

12345678910111213141516171819
  1. #include "mkql_computation_node_ut.h"
  2. #include <util/system/cpu_id.h>
  3. namespace NKikimr {
  4. namespace NMiniKQL {
  5. Y_UNIT_TEST_SUITE(TMiniKQLIsaDetection) {
  6. Y_UNIT_TEST_LLVM(TestAVX2) {
  7. UNIT_ASSERT_VALUES_EQUAL(NX86::HaveAVX2(), true);
  8. }
  9. Y_UNIT_TEST_LLVM(TestSSE42) {
  10. UNIT_ASSERT_VALUES_EQUAL(NX86::HaveSSE42(), true);
  11. }
  12. }
  13. }
  14. }