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:
@@ -464,9 +464,9 @@ CALGSLContext::flushIOCaches() const
|
||||
}
|
||||
|
||||
void
|
||||
CALGSLContext::flushL1Cache() const
|
||||
CALGSLContext::flushCUCaches(bool flushL2) const
|
||||
{
|
||||
m_cs->FlushL1Cache();
|
||||
m_cs->FlushCUCaches(flushL2);
|
||||
}
|
||||
|
||||
gslProgramObject
|
||||
|
||||
@@ -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();
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele