From 6f73e10cb2fc1268e2348388f451195048c4cada Mon Sep 17 00:00:00 2001 From: Jay Cornwall Date: Fri, 11 Jan 2019 11:25:00 -0600 Subject: [PATCH] Set EOP buffer TC policy to non-coherent Restores regression in dispatch latency. Change-Id: I17869d3d515d8c1fa055a57afec2531903b88b16 Signed-off-by: Jay Cornwall [ROCm/ROCR-Runtime commit: b7649919826dd0ad3710f0076852c0ce27dc3f6e] --- projects/rocr-runtime/src/queues.c | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/rocr-runtime/src/queues.c b/projects/rocr-runtime/src/queues.c index 28281f5731..d3fd0602ab 100644 --- a/projects/rocr-runtime/src/queues.c +++ b/projects/rocr-runtime/src/queues.c @@ -388,6 +388,7 @@ void *allocate_exec_aligned_memory_gpu(uint32_t size, uint32_t align, flags.ui32.ExecuteAccess = 1; flags.ui32.NonPaged = nonPaged; flags.ui32.PageSize = HSA_PAGE_SIZE_4KB; + flags.ui32.CoarseGrain = DeviceLocal; size = ALIGN_UP(size, align);