Skip to content

[FEA]: Support CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT in LaunchConfig #2630

Open

Description

@lijinf2

Is this a duplicate?

Area

cuda.core

Is your feature request related to a problem? Please describe.

LaunchConfig does not expose CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT, which records a programmatic event for cross-stream PDL (complements same-stream programmatic_stream_serialization from #1334).

Parent tracking: #496.

Describe the solution you'd like

  • Users can set CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT via LaunchConfig.
  • Mapping to the native launch attribute is tested.

Describe alternatives you've considered

Use cuda.bindings.driver (CUlaunchAttribute / CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT) and cuLaunchKernelEx directly.

Downside: leaves cuda.core users without a first-class LaunchConfig API; they must drop to low-level bindings, manage the attribute array themselves, and lose consistency with other LaunchConfig launch attributes (programmatic_stream_serialization, etc.).

Additional context

Incremental LaunchConfig attribute coverage under #496 (same approach as #1334 for programmatic_stream_serialization).

No example code in the design notes for this attribute.

Activity

  1. added
    featureNew feature or request
    cuda.coreEverything related to the cuda.core module
    on Aug 14, 2026
  2. changed the title [-]Add support for CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT in LaunchConfig[/-] [+][FEA]: Add support for CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT in LaunchConfig[/+] on Aug 14, 2026
  3. changed the title [-][FEA]: Add support for CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT in LaunchConfig[/-] [+][FEA]: Support CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT in LaunchConfig[/+] on Aug 18, 2026
  4. atiaomar1978-hub commented on Sep 4, 2026

    @atiaomar1978-hub
    Contributor

    @lijinf2 — I'm working on #2629 / PR #2703 (LaunchConfig.cluster_scheduling_policy_preference) and noticed this related item under #496.

    Would it be helpful if I picked up #2630 (CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT on LaunchConfig)? It looks like the same incremental LaunchConfig attribute pattern as #1334 and the cluster scheduling work, and I'd plan to follow the same approach: expose the attribute on LaunchConfig, wire it through native launch config conversion, and add tests for the mapping.

    Happy to wait until #2703 lands, or start in parallel if you prefer — just wanted to check with you first since you're assigned here. Thanks.

  5. atiaomar1978-hub commented on Sep 15, 2026

    @atiaomar1978-hub
    Contributor

    @lijinf2 — gentle reminder on my Sep 4 comment: I offered to pick up #2630 (CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT on LaunchConfig) after #2629 / PR #2703 landed.

    That blocker is done — #2703 merged and #2629 closed. I'd follow the same pattern as the cluster scheduling work: expose the attribute on LaunchConfig, wire it through native launch config conversion, and add mapping/validation tests.

    Would you like me to take #2630? Happy to wait for assignment or any design notes before opening a PR.

    Thanks!

  6. moved this from Todo to In Progress in CCCLon Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cuda.coreEverything related to the cuda.core modulefeatureNew feature or request

Type

No type

Projects

  • Status
    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions