Files
compute-runtime/core/unit_tests/utilities/clflush.cpp
Zbigniew Zdanowicz 11c601b4ef Add CLFLUSH intrinsic call
Change-Id: Ibebd88b7347b53fbb6dd8563501ee7699ce7ff89
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-08-07 10:35:48 -07:00

21 lines
318 B
C++

/*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "core/utilities/clflush.h"
void const *lastClFlushedPtr = nullptr;
namespace NEO {
namespace CpuIntrinsics {
void clFlush(void const *ptr) {
lastClFlushedPtr = ptr;
}
} // namespace CpuIntrinsics
} // namespace NEO