-
Notifications
You must be signed in to change notification settings - Fork 296
[codex] Fix generated cuda-bindings problematic doc anchors #2186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kkraus14
wants to merge
1
commit into
main
Choose a base branch
from
codex/fix-cuda-bindings-problematic-doc-anchors
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE | ||
|
|
||
| # This code was automatically generated with version 13.3.0, generator version 0.3.1.dev1711+g875fec45. Do not modify it directly. | ||
| # This code was automatically generated with version 13.3.0, generator version 0.3.1.dev1740+g3731b17a1. Do not modify it directly. | ||
| cimport cuda.bindings.cydriver as cydriver | ||
|
|
||
| include "_lib/utils.pxd" | ||
|
|
@@ -1968,8 +1968,8 @@ cdef class CUlaunchAttributeValue_union: | |
| {{if 'CUlaunchAttributeValue_union.programmaticEvent' in found_struct}} | ||
| programmaticEvent : anon_struct2 | ||
| Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT | ||
| with the following fields: - `CUevent` event - Event to fire when | ||
| all blocks trigger it. - `Event` record flags, see | ||
| with the following fields: - `CUeventCUevent` event - Event to fire | ||
| when all blocks trigger it. - `Event` record flags, see | ||
| cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL. | ||
| - `triggerAtBlockStart` - If this is set to non-0, each block | ||
| launch will automatically trigger the event. | ||
|
|
@@ -1978,8 +1978,8 @@ cdef class CUlaunchAttributeValue_union: | |
| launchCompletionEvent : anon_struct3 | ||
| Value of launch attribute | ||
| CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following | ||
| fields: - `CUevent` event - Event to fire when the last block | ||
| launches - `int` flags; - Event record flags, see | ||
| fields: - `CUeventCUevent` event - Event to fire when the last | ||
| block launches - `int` flags; - Event record flags, see | ||
| cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.priority' in found_struct}} | ||
|
|
@@ -2018,8 +2018,8 @@ cdef class CUlaunchAttributeValue_union: | |
| CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the | ||
| following fields: - `int` deviceUpdatable - Whether or not the | ||
| resulting kernel node should be device-updatable. - | ||
| `CUgraphDeviceNode` devNode - Returns a handle to pass to the | ||
| various device-side update functions. | ||
| `CUgraphDeviceNodeCUgraphDeviceNode` devNode - Returns a handle to | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 erroneous |
||
| pass to the various device-side update functions. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.sharedMemCarveout' in found_struct}} | ||
| sharedMemCarveout : unsigned int | ||
|
|
@@ -7083,8 +7083,8 @@ cdef class CUlaunchAttributeValue(CUlaunchAttributeValue_union): | |
| {{if 'CUlaunchAttributeValue_union.programmaticEvent' in found_struct}} | ||
| programmaticEvent : anon_struct2 | ||
| Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT | ||
| with the following fields: - `CUevent` event - Event to fire when | ||
| all blocks trigger it. - `Event` record flags, see | ||
| with the following fields: - `CUeventCUevent` event - Event to fire | ||
| when all blocks trigger it. - `Event` record flags, see | ||
| cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL. | ||
| - `triggerAtBlockStart` - If this is set to non-0, each block | ||
| launch will automatically trigger the event. | ||
|
|
@@ -7093,8 +7093,8 @@ cdef class CUlaunchAttributeValue(CUlaunchAttributeValue_union): | |
| launchCompletionEvent : anon_struct3 | ||
| Value of launch attribute | ||
| CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following | ||
| fields: - `CUevent` event - Event to fire when the last block | ||
| launches - `int` flags; - Event record flags, see | ||
| fields: - `CUeventCUevent` event - Event to fire when the last | ||
| block launches - `int` flags; - Event record flags, see | ||
| cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.priority' in found_struct}} | ||
|
|
@@ -7133,8 +7133,8 @@ cdef class CUlaunchAttributeValue(CUlaunchAttributeValue_union): | |
| CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the | ||
| following fields: - `int` deviceUpdatable - Whether or not the | ||
| resulting kernel node should be device-updatable. - | ||
| `CUgraphDeviceNode` devNode - Returns a handle to pass to the | ||
| various device-side update functions. | ||
| `CUgraphDeviceNodeCUgraphDeviceNode` devNode - Returns a handle to | ||
| pass to the various device-side update functions. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.sharedMemCarveout' in found_struct}} | ||
| sharedMemCarveout : unsigned int | ||
|
|
@@ -7294,8 +7294,8 @@ cdef class CUkernelNodeAttrValue_v1(CUlaunchAttributeValue): | |
| {{if 'CUlaunchAttributeValue_union.programmaticEvent' in found_struct}} | ||
| programmaticEvent : anon_struct2 | ||
| Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT | ||
| with the following fields: - `CUevent` event - Event to fire when | ||
| all blocks trigger it. - `Event` record flags, see | ||
| with the following fields: - `CUeventCUevent` event - Event to fire | ||
| when all blocks trigger it. - `Event` record flags, see | ||
| cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL. | ||
| - `triggerAtBlockStart` - If this is set to non-0, each block | ||
| launch will automatically trigger the event. | ||
|
|
@@ -7304,8 +7304,8 @@ cdef class CUkernelNodeAttrValue_v1(CUlaunchAttributeValue): | |
| launchCompletionEvent : anon_struct3 | ||
| Value of launch attribute | ||
| CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following | ||
| fields: - `CUevent` event - Event to fire when the last block | ||
| launches - `int` flags; - Event record flags, see | ||
| fields: - `CUeventCUevent` event - Event to fire when the last | ||
| block launches - `int` flags; - Event record flags, see | ||
| cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.priority' in found_struct}} | ||
|
|
@@ -7344,8 +7344,8 @@ cdef class CUkernelNodeAttrValue_v1(CUlaunchAttributeValue): | |
| CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the | ||
| following fields: - `int` deviceUpdatable - Whether or not the | ||
| resulting kernel node should be device-updatable. - | ||
| `CUgraphDeviceNode` devNode - Returns a handle to pass to the | ||
| various device-side update functions. | ||
| `CUgraphDeviceNodeCUgraphDeviceNode` devNode - Returns a handle to | ||
| pass to the various device-side update functions. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.sharedMemCarveout' in found_struct}} | ||
| sharedMemCarveout : unsigned int | ||
|
|
@@ -7425,8 +7425,8 @@ cdef class CUkernelNodeAttrValue(CUkernelNodeAttrValue_v1): | |
| {{if 'CUlaunchAttributeValue_union.programmaticEvent' in found_struct}} | ||
| programmaticEvent : anon_struct2 | ||
| Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT | ||
| with the following fields: - `CUevent` event - Event to fire when | ||
| all blocks trigger it. - `Event` record flags, see | ||
| with the following fields: - `CUeventCUevent` event - Event to fire | ||
| when all blocks trigger it. - `Event` record flags, see | ||
| cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL. | ||
| - `triggerAtBlockStart` - If this is set to non-0, each block | ||
| launch will automatically trigger the event. | ||
|
|
@@ -7435,8 +7435,8 @@ cdef class CUkernelNodeAttrValue(CUkernelNodeAttrValue_v1): | |
| launchCompletionEvent : anon_struct3 | ||
| Value of launch attribute | ||
| CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following | ||
| fields: - `CUevent` event - Event to fire when the last block | ||
| launches - `int` flags; - Event record flags, see | ||
| fields: - `CUeventCUevent` event - Event to fire when the last | ||
| block launches - `int` flags; - Event record flags, see | ||
| cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.priority' in found_struct}} | ||
|
|
@@ -7475,8 +7475,8 @@ cdef class CUkernelNodeAttrValue(CUkernelNodeAttrValue_v1): | |
| CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the | ||
| following fields: - `int` deviceUpdatable - Whether or not the | ||
| resulting kernel node should be device-updatable. - | ||
| `CUgraphDeviceNode` devNode - Returns a handle to pass to the | ||
| various device-side update functions. | ||
| `CUgraphDeviceNodeCUgraphDeviceNode` devNode - Returns a handle to | ||
| pass to the various device-side update functions. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.sharedMemCarveout' in found_struct}} | ||
| sharedMemCarveout : unsigned int | ||
|
|
@@ -7556,8 +7556,8 @@ cdef class CUstreamAttrValue_v1(CUlaunchAttributeValue): | |
| {{if 'CUlaunchAttributeValue_union.programmaticEvent' in found_struct}} | ||
| programmaticEvent : anon_struct2 | ||
| Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT | ||
| with the following fields: - `CUevent` event - Event to fire when | ||
| all blocks trigger it. - `Event` record flags, see | ||
| with the following fields: - `CUeventCUevent` event - Event to fire | ||
| when all blocks trigger it. - `Event` record flags, see | ||
| cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL. | ||
| - `triggerAtBlockStart` - If this is set to non-0, each block | ||
| launch will automatically trigger the event. | ||
|
|
@@ -7566,8 +7566,8 @@ cdef class CUstreamAttrValue_v1(CUlaunchAttributeValue): | |
| launchCompletionEvent : anon_struct3 | ||
| Value of launch attribute | ||
| CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following | ||
| fields: - `CUevent` event - Event to fire when the last block | ||
| launches - `int` flags; - Event record flags, see | ||
| fields: - `CUeventCUevent` event - Event to fire when the last | ||
| block launches - `int` flags; - Event record flags, see | ||
| cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.priority' in found_struct}} | ||
|
|
@@ -7606,8 +7606,8 @@ cdef class CUstreamAttrValue_v1(CUlaunchAttributeValue): | |
| CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the | ||
| following fields: - `int` deviceUpdatable - Whether or not the | ||
| resulting kernel node should be device-updatable. - | ||
| `CUgraphDeviceNode` devNode - Returns a handle to pass to the | ||
| various device-side update functions. | ||
| `CUgraphDeviceNodeCUgraphDeviceNode` devNode - Returns a handle to | ||
| pass to the various device-side update functions. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.sharedMemCarveout' in found_struct}} | ||
| sharedMemCarveout : unsigned int | ||
|
|
@@ -7687,8 +7687,8 @@ cdef class CUstreamAttrValue(CUstreamAttrValue_v1): | |
| {{if 'CUlaunchAttributeValue_union.programmaticEvent' in found_struct}} | ||
| programmaticEvent : anon_struct2 | ||
| Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT | ||
| with the following fields: - `CUevent` event - Event to fire when | ||
| all blocks trigger it. - `Event` record flags, see | ||
| with the following fields: - `CUeventCUevent` event - Event to fire | ||
| when all blocks trigger it. - `Event` record flags, see | ||
| cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL. | ||
| - `triggerAtBlockStart` - If this is set to non-0, each block | ||
| launch will automatically trigger the event. | ||
|
|
@@ -7697,8 +7697,8 @@ cdef class CUstreamAttrValue(CUstreamAttrValue_v1): | |
| launchCompletionEvent : anon_struct3 | ||
| Value of launch attribute | ||
| CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following | ||
| fields: - `CUevent` event - Event to fire when the last block | ||
| launches - `int` flags; - Event record flags, see | ||
| fields: - `CUeventCUevent` event - Event to fire when the last | ||
| block launches - `int` flags; - Event record flags, see | ||
| cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.priority' in found_struct}} | ||
|
|
@@ -7737,8 +7737,8 @@ cdef class CUstreamAttrValue(CUstreamAttrValue_v1): | |
| CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the | ||
| following fields: - `int` deviceUpdatable - Whether or not the | ||
| resulting kernel node should be device-updatable. - | ||
| `CUgraphDeviceNode` devNode - Returns a handle to pass to the | ||
| various device-side update functions. | ||
| `CUgraphDeviceNodeCUgraphDeviceNode` devNode - Returns a handle to | ||
| pass to the various device-side update functions. | ||
| {{endif}} | ||
| {{if 'CUlaunchAttributeValue_union.sharedMemCarveout' in found_struct}} | ||
| sharedMemCarveout : unsigned int | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is erroneous