mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Use maxOsContextCount to initialize trimCandidateList for WDDM allocations.
Change-Id: Icc65d19ed45bb1aa1a3dba4de536cf85ab9b906b
This commit is contained in:
@@ -35,7 +35,7 @@ class WddmAllocation : public GraphicsAllocation {
|
||||
: GraphicsAllocation(cpuPtrIn, castToUint64(cpuPtrIn), 0llu, sizeIn),
|
||||
handle(0),
|
||||
gpuPtr(0),
|
||||
trimCandidateListPositions(osContextsCount, trimListUnusedPosition) {
|
||||
trimCandidateListPositions(maxOsContextCount, trimListUnusedPosition) {
|
||||
reservedAddressSpace = reservedAddr;
|
||||
this->memoryPool = pool;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user