Skip to content

Bugfix/multiple ptxas options values - #678

Merged
leofang merged 2 commits into
NVIDIA:mainfrom
oleksandr-pavlyk:bugfix/multiple-ptxas-options-values
Jun 4, 2025
Merged

Bugfix/multiple ptxas options values#678
leofang merged 2 commits into
NVIDIA:mainfrom
oleksandr-pavlyk:bugfix/multiple-ptxas-options-values

Conversation

@oleksandr-pavlyk

@oleksandr-pavlykoleksandr-pavlyk commented Jun 4, 2025

Copy link
Copy Markdown
Contributor

Description

closesgh-668

This PR fixes the issue by changing how sequence values for ptxas_options are handled. Multiple values should be passed to NVRTC as a sequence of --ptx-options=val for each val in the sequence.

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@oleksandr-pavlykoleksandr-pavlyk self-assigned this Jun 4, 2025
@oleksandr-pavlykoleksandr-pavlyk added bug Something isn't working P0 High priority - Must do! cuda.core Everything related to the cuda.core module labels Jun 4, 2025
@copy-pr-bot

Copy link
Copy Markdown
Contributor

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@oleksandr-pavlyk

Copy link
Copy Markdown
ContributorAuthor

/ok to test

The correct way to handle multiple options is to pass them
to NVRTC one at a time, e.g.,
```
--ptxas-options=val1 --ptxas-options=val2
```
@oleksandr-pavlyk
oleksandr-pavlykforce-pushed the bugfix/multiple-ptxas-options-values branch from 2d004bc to b06a6a5CompareJune 4, 2025 15:40
@oleksandr-pavlyk

Copy link
Copy Markdown
ContributorAuthor

/ok to test

@leofangleofang added this to the cuda.core beta 4 milestone Jun 4, 2025
@leofang
leofang enabled auto-merge (squash) June 4, 2025 15:59
@github-actions

This comment has been minimized.

@leofang
leofang merged commit a8285b0 into NVIDIA:mainJun 4, 2025
@github-actions

Copy link
Copy Markdown
Doc Preview CI
Preview removed because the pull request was closed or merged.

@oleksandr-pavlyk
oleksandr-pavlyk deleted the bugfix/multiple-ptxas-options-values branch June 4, 2025 17:29
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't workingcuda.coreEverything related to the cuda.core moduleP0High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Second argument to ptxas_options fails to parse

2 participants

@oleksandr-pavlyk@leofang