projects/aports·blob master · refs

12 lines · 330 B

1--- a/src/opencl_common.h 2020-08-03 15:49:20.000000000 +0100
2+++ b/src/opencl_common.h 2020-08-03 15:55:23.081101690 +0100
3@@ -81,6 +81,9 @@
4
5 #ifndef CL_DEVICE_TOPOLOGY_AMD
6 #define CL_DEVICE_TOPOLOGY_AMD 0x4037
7+#endif
8+
9+#ifndef CL_DEVICE_TOPOLOGY_TYPE_PCIE_AMD
10 typedef union {
11 struct {
12 cl_uint type;