fix: invalid includes and missing rdtsc() on ARM

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
This commit is contained in:
Francois Dugast
2025-01-23 12:11:25 +00:00
committed by Compute-Runtime-Automation
parent 3556d9ded6
commit f91cde2a5b

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -12,9 +12,13 @@
#include <intrin.h>
#pragma intrinsic(__rdtsc)
#else
#if defined(__ARM_ARCH)
extern "C" uint64_t __rdtsc();
#else
#include <immintrin.h>
#include <x86intrin.h>
#endif
#endif
#if defined(__ARM_ARCH)
#include <sse2neon.h>