Skip to content
Snippets Groups Projects
Unverified Commit c63bed18 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

Merge pull request #426 from matthiasdiener/domain_id-fix

fix DOMAIN_ID to the same value as used by the Nvidia CL driver
parents 58aa810d 26bf2956
No related branches found
No related tags found
No related merge requests found
Pipeline #130263 passed with warnings
......@@ -49,8 +49,7 @@
#define CL_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT_NV 0x4007
#define CL_DEVICE_PCI_BUS_ID_NV 0x4008
#define CL_DEVICE_PCI_SLOT_ID_NV 0x4009
/* https://github.com/pocl/pocl/pull/910 */
#define CL_DEVICE_PCI_DOMAIN_ID_NV 0x4010
#define CL_DEVICE_PCI_DOMAIN_ID_NV 0x400A
/* cl_ext_atomic_counters_{32,64} */
#define CL_DEVICE_MAX_ATOMIC_COUNTERS_EXT 0x4032
......
......@@ -50,8 +50,7 @@ typedef union
#endif
#ifndef CL_DEVICE_PCI_DOMAIN_ID_NV
/* https://github.com/pocl/pocl/pull/910 */
#define CL_DEVICE_PCI_DOMAIN_ID_NV 0x4010
#define CL_DEVICE_PCI_DOMAIN_ID_NV 0x400A
#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