Skip to content

Commit c7dcd01

Browse files
authored
BUG: Minor fix to fast enum support (#1614)
1 parent 463ed53 commit c7dcd01

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cuda_bindings/cuda/bindings/driver.pyx.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7952,7 +7952,7 @@ cdef class CUgraphConditionalHandle:
79527952

79537953
{{if 'CUlaunchAttributeID_enum' in found_types}}
79547954

7955-
class CUlaunchAttributeID(_FastEnum):
7955+
class CUkernelNodeAttrID(_FastEnum):
79567956
"""
79577957
Launch attributes enum; used as id field of
79587958
:py:obj:`~.CUlaunchAttribute`
@@ -8184,7 +8184,7 @@ class CUlaunchAttributeID(_FastEnum):
81848184
{{endif}}
81858185
{{if 'CUlaunchAttributeID_enum' in found_types}}
81868186

8187-
class CUlaunchAttributeID(_FastEnum):
8187+
class CUstreamAttrID(_FastEnum):
81888188
"""
81898189
Launch attributes enum; used as id field of
81908190
:py:obj:`~.CUlaunchAttribute`

cuda_bindings/cuda/bindings/runtime.pyx.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6260,7 +6260,7 @@ class cudaGLMapFlags(_FastEnum):
62606260
{{endif}}
62616261
{{if 'cudaLaunchAttributeID' in found_types}}
62626262

6263-
class cudaLaunchAttributeID(_FastEnum):
6263+
class cudaStreamAttrID(_FastEnum):
62646264
"""
62656265
Launch attributes enum; used as id field of
62666266
:py:obj:`~.cudaLaunchAttribute`
@@ -6491,7 +6491,7 @@ class cudaLaunchAttributeID(_FastEnum):
64916491
{{endif}}
64926492
{{if 'cudaLaunchAttributeID' in found_types}}
64936493

6494-
class cudaLaunchAttributeID(_FastEnum):
6494+
class cudaKernelNodeAttrID(_FastEnum):
64956495
"""
64966496
Launch attributes enum; used as id field of
64976497
:py:obj:`~.cudaLaunchAttribute`

0 commit comments

Comments
 (0)