mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 01:48:50 +08:00
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
25 lines
350 B
C++
25 lines
350 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/utilities/cpuintrinsics.h"
|
|
|
|
#include <emmintrin.h>
|
|
|
|
namespace NEO {
|
|
namespace CpuIntrinsics {
|
|
|
|
void clFlush(void const *ptr) {
|
|
_mm_clflush(ptr);
|
|
}
|
|
|
|
void pause() {
|
|
_mm_pause();
|
|
}
|
|
|
|
} // namespace CpuIntrinsics
|
|
} // namespace NEO
|