mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 11:03:02 +08:00
Change-Id: Ibebd88b7347b53fbb6dd8563501ee7699ce7ff89 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
21 lines
295 B
C++
21 lines
295 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/utilities/clflush.h"
|
|
|
|
#include <emmintrin.h>
|
|
|
|
namespace NEO {
|
|
namespace CpuIntrinsics {
|
|
|
|
void clFlush(void const *ptr) {
|
|
_mm_clflush(ptr);
|
|
}
|
|
|
|
} // namespace CpuIntrinsics
|
|
} // namespace NEO
|