mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
refactor: remove LogicalStateHelper
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
652a6dee67
commit
7562842a58
@@ -28,7 +28,6 @@
|
||||
#include "shared/source/helpers/flat_batch_buffer_helper.h"
|
||||
#include "shared/source/helpers/flush_stamp.h"
|
||||
#include "shared/source/helpers/gfx_core_helper.h"
|
||||
#include "shared/source/helpers/logical_state_helper.h"
|
||||
#include "shared/source/helpers/pause_on_gpu_properties.h"
|
||||
#include "shared/source/helpers/ray_tracing_helper.h"
|
||||
#include "shared/source/helpers/string.h"
|
||||
@@ -380,11 +379,6 @@ void CommandStreamReceiver::cleanupResources() {
|
||||
workPartitionAllocation = nullptr;
|
||||
}
|
||||
|
||||
if (kernelArgsBufferAllocation) {
|
||||
getMemoryManager()->freeGraphicsMemory(kernelArgsBufferAllocation);
|
||||
kernelArgsBufferAllocation = nullptr;
|
||||
}
|
||||
|
||||
if (globalStatelessHeapAllocation) {
|
||||
getMemoryManager()->freeGraphicsMemory(globalStatelessHeapAllocation);
|
||||
globalStatelessHeapAllocation = nullptr;
|
||||
@@ -1026,10 +1020,6 @@ void CommandStreamReceiver::printTagAddressContent(TaskCountType taskCountToWait
|
||||
PRINT_DEBUG_STRING(true, stdout, "%s", "\n");
|
||||
}
|
||||
|
||||
LogicalStateHelper *CommandStreamReceiver::getLogicalStateHelper() const {
|
||||
return logicalStateHelper.get();
|
||||
}
|
||||
|
||||
bool CommandStreamReceiver::isTbxMode() const {
|
||||
return (getType() == NEO::CommandStreamReceiverType::CSR_TBX || getType() == NEO::CommandStreamReceiverType::CSR_TBX_WITH_AUB);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user