Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyopencl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
pyopencl
Commits
26bf2956
Commit
26bf2956
authored
4 years ago
by
Matthias Diener
Browse files
Options
Downloads
Patches
Plain Diff
fix DOMAIN_ID to the same value as used by the Nvidia CL driver
parent
58aa810d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/clinfo_ext.h
+1
-2
1 addition, 2 deletions
src/clinfo_ext.h
src/pyopencl_ext.h
+1
-2
1 addition, 2 deletions
src/pyopencl_ext.h
with
2 additions
and
4 deletions
src/clinfo_ext.h
+
1
−
2
View file @
26bf2956
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/pyopencl_ext.h
+
1
−
2
View file @
26bf2956
...
@@ -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
/* }}} */
/* }}} */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment