Skip to content

Commit 3be0542

Browse files
committed
GPU: Fix memory buffer scaling factor when memory allocation strategy is auto
1 parent 76c9749 commit 3be0542

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GPU/GPUTracking/Interface/GPUO2Interface.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ int GPUTPCO2Interface::Initialize(const GPUO2InterfaceConfiguration& config)
7777
if (mRec->Init()) {
7878
return (1);
7979
}
80-
if (!mRec->IsGPU() && mConfig->configProcessing.memoryAllocationStrategy == GPUMemoryResource::ALLOCATION_INDIVIDUAL) {
80+
if (!mRec->IsGPU() && mRec->GetProcessingSettings().memoryAllocationStrategy == GPUMemoryResource::ALLOCATION_INDIVIDUAL) {
8181
mRec->MemoryScalers()->factor *= 2;
8282
}
8383
mRec->MemoryScalers()->factor *= mConfig->configInterface.memoryBufferScaleFactor;

0 commit comments

Comments
 (0)