mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
8c1685b93c
commit
d8fbd57847
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user