mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 17:29:14 +08:00
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
|