Disable large scratch on GFX8.
Temporary pending firmware fix.
Change-Id: Id1b1ecef421bc97327fd0d2e6225549a6e81dba0
[ROCm/ROCR-Runtime commit: b66764e4c6]
This commit is contained in:
@@ -928,6 +928,7 @@ void GpuAgent::AcquireQueueScratch(ScratchInfo& scratch) {
|
||||
ScopedAcquire<KernelMutex> lock(&scratch_lock_);
|
||||
bool large = (scratch.size > 6 * 1024 * 1024) ||
|
||||
(scratch_pool_.size() - scratch_pool_.remaining() > 24 * 6 * 1024 * 1024);
|
||||
large = (isa_->GetMajorVersion() < 9) ? false : large;
|
||||
if (large)
|
||||
scratch.queue_base = scratch_pool_.alloc_high(scratch.size);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user