P4 to Git Change 1410787 by gandryey@gera-w8 on 2017/05/17 15:15:22

SWDEV-120180 - [amdgpu-pro] OpenCL support for SSG
	- Protect amdgpu-pro headers with the define for easier open source integration

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#21 edit
This commit is contained in:
foreman
2017-05-17 15:49:02 -04:00
rodzic 83937abeae
commit 94759e212e
2 zmienionych plików z 4 dodań i 0 usunięć
@@ -25,7 +25,9 @@
#endif // !defined(WITH_LIGHTNING_COMPILER)
#include "device/rocm/rocmemory.hpp"
#include "device/rocm/rocglinterop.hpp"
#ifdef WITH_AMDGPU_PRO
#include "pro/prodriver.hpp"
#endif
#include <cstring>
#include <fstream>
#include <sstream>
@@ -20,7 +20,9 @@
#include "platform/memory.hpp"
#include "platform/sampler.hpp"
#include "amdocl/cl_gl_amd.hpp"
#ifdef WITH_AMDGPU_PRO
#include "pro/prodriver.hpp"
#endif
namespace roc {