mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Add multi tile event signal capability
Related-To: NEO-6262 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a27c7af2da
commit
bac79244d5
@@ -16,6 +16,7 @@
|
||||
namespace CpuIntrinsicsTests {
|
||||
//std::atomic is used for sake of sanitation in MT tests
|
||||
std::atomic<uintptr_t> lastClFlushedPtr(0u);
|
||||
std::atomic<uint32_t> clFlushCounter(0u);
|
||||
std::atomic<uint32_t> pauseCounter(0u);
|
||||
|
||||
volatile uint32_t *pauseAddress = nullptr;
|
||||
@@ -29,6 +30,7 @@ namespace NEO {
|
||||
namespace CpuIntrinsics {
|
||||
|
||||
void clFlush(void const *ptr) {
|
||||
CpuIntrinsicsTests::clFlushCounter++;
|
||||
CpuIntrinsicsTests::lastClFlushedPtr = reinterpret_cast<uintptr_t>(ptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user