mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 12:11:31 +08:00
Change-Id: I40707ecc77ea59d5bb3ae6f7f505ef8168847f1a Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
25 lines
341 B
C++
25 lines
341 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/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
|