P4 to Git Change 1114892 by rili@rili_opencl_stg on 2015/01/23 15:08:20

EPR #411675 - Disable the code of writing 0 for the buffer paging by VidMM if asic is apu.
	                         On Kaveri, benchmark "photo editing" of PCMarks takes longer time
	                         Not sure how PCMarks measures it.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#202 edit
This commit is contained in:
foreman
2015-01-23 15:50:10 -05:00
bovenliggende a910ebb77d
commit fe8a3fc53e
@@ -1901,7 +1901,10 @@ void
Resource::warmUpRenames(VirtualGPU& gpu)
{
for (uint i = 0; i < dev().settings().maxRenames_; ++i) {
if (dev().settings().siPlus_) {
// EPR #411675 - On Kaveri, benchmark "photo editing" of PCMarks takes longer time
// if writing 0 for the buffer paging by VidMM is excuted. Not sure how PCMarks measures it.
// Disable this code for apu
if (dev().settings().siPlus_ && !dev().settings().apuSystem_) {
uint dummy = 0;
const bool NoWait = false;
// Write 0 for the buffer paging by VidMM