Skip to content
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

[EPIC] cuda::ptx platform for exposing PTX instructions #573

Closed
2 tasks done
ahendriksen opened this issue Oct 17, 2023 · 1 comment
Closed
2 tasks done

[EPIC] cuda::ptx platform for exposing PTX instructions #573

ahendriksen opened this issue Oct 17, 2023 · 1 comment
Assignees
Labels
feature request New feature or request.

Comments

@ahendriksen
Copy link
Contributor

ahendriksen commented Oct 17, 2023

Is this a duplicate?

Area

libcu++

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

The development of higher-level APIs lags behind the introduction of new PTX instructions in the CUDA Toolkit.

Describe the solution you'd like

Provide a means to add PTX instructions before higher-level exposure has been developed.

That is:

  • Add the header cuda/ptx
  • Add the namespace cuda::ptx
  • Add PTX instructions to expose cluster-level and other features.

Tasks

Preview Give feedback
  1. 4 of 4
    feature request
    ahendriksen

Describe alternatives you've considered

The alternative is to wait for higher-level exposure, which may take a while.

Another alternative is to provide an intermediate exposure like the recent addition of cuda::device::experimental::cp_async_bulk_global_to_shared and friends. These wrapper functions are a hybrid between pure PTX wrapping functions using native types, and higher-level APIs that take higher-level types (like cuda::barrier<..>). These are very useful for documenting features to outside developers, but require design and deviate from the PTX ISA.

Additional context

No response

@ahendriksen ahendriksen added the feature request New feature or request. label Oct 17, 2023
@github-project-automation github-project-automation bot moved this to Todo in CCCL Oct 17, 2023
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Progress in CCCL Oct 17, 2023
@cccl-authenticator-app cccl-authenticator-app bot moved this from In Progress to In Review in CCCL Oct 25, 2023
@jrhemstad jrhemstad changed the title [FEA]: Provide a platform for exposing PTX instructions [EPIC] cuda::ptx platform for exposing PTX instructions Oct 25, 2023
@ahendriksen
Copy link
Contributor Author

Closing this epic in favor of a Hopper-specific epic. The goal of setting up a platform for exposing PTX instructions has been achieved..

@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Feb 6, 2024
@ahendriksen ahendriksen self-assigned this Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request.
Projects
Archived in project
Development

No branches or pull requests

1 participant