mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
feature: set device allocation chunking as default
Device allocation chunking only applies for multi-tile mode for implicit scaling Related-To: NEO-9051 Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
81e5e2de87
commit
f0175b3916
@@ -1157,7 +1157,11 @@ bool Drm::isChunkingAvailable() {
|
||||
int ret = ioctlHelper->isChunkingAvailable();
|
||||
if (ret) {
|
||||
chunkingAvailable = true;
|
||||
chunkingMode = DebugManager.flags.EnableBOChunking.get();
|
||||
if (DebugManager.flags.EnableBOChunking.get() == -1) {
|
||||
chunkingMode = chunkingModeDevice;
|
||||
} else {
|
||||
chunkingMode = DebugManager.flags.EnableBOChunking.get();
|
||||
}
|
||||
}
|
||||
|
||||
if (DebugManager.flags.MinimalAllocationSizeForChunking.get() != -1) {
|
||||
@@ -1167,8 +1171,8 @@ bool Drm::isChunkingAvailable() {
|
||||
printDebugString(DebugManager.flags.PrintBOChunkingLogs.get(), stdout,
|
||||
"Chunking available: %d; enabled for: shared allocations %d, device allocations %d; minimalChunkingSize: %zd\n",
|
||||
chunkingAvailable,
|
||||
(chunkingMode & 0x01),
|
||||
(chunkingMode & 0x02),
|
||||
(chunkingMode & chunkingModeShared),
|
||||
(chunkingMode & chunkingModeDevice),
|
||||
minimalChunkingSize);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user