Revert "feature: enable standalone profiling allocation for CB events 2"

This reverts commit 2b48599c38.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-10-01 02:39:45 +02:00
committed by Compute-Runtime-Automation
parent 8c1685b93c
commit d8fbd57847
2 changed files with 1 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ template Event *Event::create<uint64_t>(const EventDescriptor &, const ze_event_
template Event *Event::create<uint32_t>(const EventDescriptor &, const ze_event_desc_t *, Device *);
bool Event::standaloneInOrderTimestampAllocationEnabled() {
return (NEO::debugManager.flags.StandaloneInOrderTimestampAllocationEnabled.get() != 0);
return (NEO::debugManager.flags.StandaloneInOrderTimestampAllocationEnabled.get() == 1);
}
ze_result_t EventPool::initialize(DriverHandle *driver, Context *context, uint32_t numDevices, ze_device_handle_t *deviceHandles) {

View File

@@ -6646,15 +6646,6 @@ struct StandaloneInOrderTimestampAllocationTests : public InOrderCmdListTests {
}
};
HWTEST2_F(StandaloneInOrderTimestampAllocationTests, givenDebugFlagSetWhenCreatingEventThenDontCreateTimestampNode, MatchAny) {
NEO::debugManager.flags.StandaloneInOrderTimestampAllocationEnabled.set(0);
auto eventPool = createEvents<FamilyType>(1, true);
auto cmdList = createImmCmdList<gfxCoreFamily>();
cmdList->appendLaunchKernel(kernel->toHandle(), groupCount, events[0]->toHandle(), 0, nullptr, launchParams, false);
EXPECT_EQ(nullptr, events[0]->inOrderTimestampNode);
EXPECT_NE(nullptr, events[0]->eventPoolAllocation);
}
HWTEST2_F(StandaloneInOrderTimestampAllocationTests, givenTimestampEventWhenAskingForAllocationOrGpuAddressThenReturnNodeAllocation, MatchAny) {
auto eventPool = createEvents<FamilyType>(2, true);