Skip to content
Snippets Groups Projects
Commit 26bf2956 authored by Matthias Diener's avatar Matthias Diener
Browse files

fix DOMAIN_ID to the same value as used by the Nvidia CL driver

parent 58aa810d
No related branches found
No related tags found
No related merge requests found
...@@ -49,8 +49,7 @@ ...@@ -49,8 +49,7 @@
#define CL_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT_NV 0x4007 #define CL_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT_NV 0x4007
#define CL_DEVICE_PCI_BUS_ID_NV 0x4008 #define CL_DEVICE_PCI_BUS_ID_NV 0x4008
#define CL_DEVICE_PCI_SLOT_ID_NV 0x4009 #define CL_DEVICE_PCI_SLOT_ID_NV 0x4009
/* https://github.com/pocl/pocl/pull/910 */ #define CL_DEVICE_PCI_DOMAIN_ID_NV 0x400A
#define CL_DEVICE_PCI_DOMAIN_ID_NV 0x4010
/* cl_ext_atomic_counters_{32,64} */ /* cl_ext_atomic_counters_{32,64} */
#define CL_DEVICE_MAX_ATOMIC_COUNTERS_EXT 0x4032 #define CL_DEVICE_MAX_ATOMIC_COUNTERS_EXT 0x4032
......
...@@ -50,8 +50,7 @@ typedef union ...@@ -50,8 +50,7 @@ typedef union
#endif #endif
#ifndef CL_DEVICE_PCI_DOMAIN_ID_NV #ifndef CL_DEVICE_PCI_DOMAIN_ID_NV
/* https://github.com/pocl/pocl/pull/910 */ #define CL_DEVICE_PCI_DOMAIN_ID_NV 0x400A
#define CL_DEVICE_PCI_DOMAIN_ID_NV 0x4010
#endif #endif
/* }}} */ /* }}} */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment