P4 to Git Change 1808507 by axie@axie-pal-lc4 on 2019/06/11 14:11:09

SWDEV-187399 - ​Linux-Pro Pyro_Explosion.hip Image difference is observed specific to W9000 ASIC in OCL mode

	The issue disappeared when we invalidate L1 cache after each dispatch.

	This change also fix ocltst runtime OCLMultiQueue test in Tahiti Brahma driver.

	Tests:
	http://ocltc.amd.com:8111/viewModification.html?modId=121519&personal=true&tab=vcsModificationBuilds

	Test in the Houdini app. The symptom disappeared.
	This change also fix ocltst runtime OCLMultiQueue test in Tahiti Brahma driver.

	ReviewBoard: http://ocltc.amd.com/reviews/r/17509/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#337 edit


[ROCm/clr commit: d1abc0baa2]
Этот коммит содержится в:
foreman
2019-06-12 05:55:12 -04:00
родитель cbc0b702d4
Коммит c7b93374a4
+3
Просмотреть файл
@@ -1443,6 +1443,9 @@ bool Kernel::run(VirtualGPU& gpu, GpuEvent* calEvent, bool lastRun, bool lastDop
gpu.rs()->Dispatch(gpu.cs(), &dispatch->gridBlock, &dispatch->partialGridBlock,
&dispatch->gridSize, dispatch->localSize, gpu.vmMems(), dispatch->memCount_,
lastDoppCmd, pfpaDoppCmd);
gpu.flushCUCaches();
gpu.eventEnd(MainEngine, *calEvent);
// Unbind all resources