P4 to Git Change 1057571 by gandryey@gera-dev-w7 on 2014/07/21 18:35:02

ECR #304775 - Device enqueuing
	- Add L2 cache flush after the scheduler execution. Although CP has to work with L2 cache, it seems some functionality relies on direct memory access and without explicit L2 flush CP can pick old values in the template.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#324 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.h#35 edit
Tento commit je obsažen v:
foreman
2014-07-21 18:43:54 -04:00
rodič e87e2d4c11
revize 4599bd0d4a
3 změnil soubory, kde provedl 7 přidání a 7 odebrání
+2 -2
Zobrazit soubor
@@ -464,9 +464,9 @@ CALGSLContext::flushIOCaches() const
}
void
CALGSLContext::flushL1Cache() const
CALGSLContext::flushCUCaches(bool flushL2) const
{
m_cs->FlushL1Cache();
m_cs->FlushCUCaches(flushL2);
}
gslProgramObject
+1 -1
Zobrazit soubor
@@ -51,7 +51,7 @@ public:
bool isDone(GpuEvent* event);
void waitForEvent(GpuEvent* event);
void flushIOCaches() const;
void flushL1Cache() const;
void flushCUCaches(bool flushL2 = false) const;
void eventBegin(EngineType engId)
{
m_eventQueue[engId].begin();