mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Remove wait on user fence during cmdlist destroy/reset
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-7156
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c694ccd637
commit
8b5c567bea
@@ -236,7 +236,6 @@ IndirectHeap *CommandContainer::getHeapWithRequiredSizeAndAlignment(HeapType hea
|
||||
void CommandContainer::handleCmdBufferAllocations(size_t startIndex) {
|
||||
for (size_t i = startIndex; i < cmdBufferAllocations.size(); i++) {
|
||||
if (this->reusableAllocationList) {
|
||||
this->device->getMemoryManager()->handleFenceCompletion(cmdBufferAllocations[i]);
|
||||
reusableAllocationList->pushFrontOne(*cmdBufferAllocations[i]);
|
||||
} else {
|
||||
this->device->getMemoryManager()->freeGraphicsMemory(cmdBufferAllocations[i]);
|
||||
|
||||
@@ -35,7 +35,7 @@ enum class ErrorCode {
|
||||
|
||||
class CommandContainer : public NonCopyableOrMovableClass {
|
||||
public:
|
||||
static constexpr size_t defaultListCmdBufferSize = MemoryConstants::kiloByte * 256;
|
||||
static constexpr size_t defaultListCmdBufferSize = 1u * MemoryConstants ::megaByte;
|
||||
static constexpr size_t cmdBufferReservedSize = MemoryConstants::cacheLineSize +
|
||||
CSRequirements::csOverfetchSize;
|
||||
static constexpr size_t totalCmdBufferSize = defaultListCmdBufferSize + cmdBufferReservedSize;
|
||||
|
||||
Reference in New Issue
Block a user