From 2186a93d3c920be37d69605ea886d71a890205ed Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 28 Oct 2014 16:55:32 -0400
Subject: [PATCH] P4 to Git Change 1091636 by gandryey@gera-dev-w7 on
2014/10/28 15:50:12
EPR #407803 - [CQE OCL][2.0][PERF][QR] BasemarkCL's 3 subtests having ~9-14% Perf drop. Faulty CL:1087490
- Remove unnecessary flush from acquire
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#44 edit
[ROCm/clr commit: d92c967b755f880060928c4cbdf3213b724c66d1]
---
projects/clr/opencl/api/opencl/amdocl/cl_gl.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/projects/clr/opencl/api/opencl/amdocl/cl_gl.cpp b/projects/clr/opencl/api/opencl/amdocl/cl_gl.cpp
index 3847712907..d253c895de 100644
--- a/projects/clr/opencl/api/opencl/amdocl/cl_gl.cpp
+++ b/projects/clr/opencl/api/opencl/amdocl/cl_gl.cpp
@@ -2165,7 +2165,6 @@ clEnqueueAcquireExtObjectsAMD(cl_command_queue command_queue,
LogWarning("\"amdContext\" is not created from GL context or share list");
return CL_INVALID_CONTEXT;
}
- hostQueue.context().glenv()->glFlush_();
}
std::vector memObjects;