Disable large scratch on GFX8.

Temporary pending firmware fix.

Change-Id: Id1b1ecef421bc97327fd0d2e6225549a6e81dba0


[ROCm/ROCR-Runtime commit: b66764e4c6]
This commit is contained in:
Sean Keely
2018-04-19 20:25:16 -05:00
parent 94a6b2cd95
commit 7c4cf726f7
@@ -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