P4 to Git Change 1425764 by gandryey@gera-w8 on 2017/06/22 14:05:15

SWDEV-79445 - OCL generic changes and code clean-up
	- Keep the liquidflash calls for win32 only, since the interface isn't exposed under Linux at all

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#45 edit
This commit is contained in:
foreman
2017-06-22 14:13:27 -04:00
parent f71a338de7
commit 8015418605
+3 -6
View File
@@ -18,8 +18,7 @@
#include "CL/cl_dx9_media_sharing.h"
#endif //_WIN32
#if (!defined(BUILD_HSA_TARGET) && defined(WITH_HSA_DEVICE) && \
defined(WITH_AMDGPU_PRO)) || defined(_WIN32)
#if defined(_WIN32)
#include "lf.h"
#endif
@@ -80,8 +79,7 @@ Context::~Context() {
std::for_each(devices_.begin(), devices_.end(), std::mem_fun(&Device::release));
#if (!defined(BUILD_HSA_TARGET) && defined(WITH_HSA_DEVICE) && \
defined(WITH_AMDGPU_PRO)) || defined(_WIN32)
#if defined(_WIN32)
lfTerminate();
#endif
}
@@ -263,8 +261,7 @@ int Context::create(const intptr_t* properties) {
}
}
}
#if (!defined(BUILD_HSA_TARGET) && defined(WITH_HSA_DEVICE) && \
defined(WITH_AMDGPU_PRO)) || defined(_WIN32)
#if defined(_WIN32)
lfInit();
#endif
return result;