Make sure we hint as OpenCL.

Change-Id: I11b75b9e627651d9ee56ce58864cc4520ee82bfd
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2019-10-23 17:16:09 +02:00
committed by sys_ocldev
parent bfc9863179
commit 1580a936b6
2 changed files with 7 additions and 1 deletions

View File

@@ -729,7 +729,7 @@ bool Wddm::createContext(OsContextWin &osContext) {
CreateContext.PrivateDriverDataSize = sizeof(PrivateData);
CreateContext.NodeOrdinal = WddmEngineMapper::engineNodeMap(osContext.getEngineType());
CreateContext.pPrivateDriverData = &PrivateData;
CreateContext.ClientHint = D3DKMT_CLIENTHINT_OPENGL;
CreateContext.ClientHint = D3DKMT_CLIENTHINT_OPENCL;
CreateContext.hDevice = device;
status = gdi->createContext(&CreateContext);