Skip to content

[rocm6.4_internal_testing] Exposing Some MIOpen Symbols (#2176) (#154545) #2218

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
wants to merge 1 commit into
base: rocm6.4_internal_testing
Choose a base branch
from

Conversation

apakbin
Copy link

@apakbin apakbin commented Jun 2, 2025

(Cherry-pick of pytorch#154545)

This PR exposes some MIOpen symbols, namely:

  1. miopenDataType_t getMiopenDataType(const at::Tensor& tensor)
  2. miopenHandle_t getMiopenHandle()
  3. class TensorDescriptor
  4. class Descriptor
  5. class FilterDescriptor
  6. struct ConvolutionDescriptor
  7. struct DropoutDescriptor
  8. struct RNNDescriptor

to enable adding extensions that make use of them.

Pull Request resolved: pytorch#154545
Approved by: https://github.com/jeffdaily, https://github.com/Skylion007

This PR exposes some MIOpen symbols, namely:

1. `miopenDataType_t getMiopenDataType(const at::Tensor& tensor)`
2. `miopenHandle_t getMiopenHandle()`
3. `class TensorDescriptor`
4. `class Descriptor`
5. `class FilterDescriptor`
6. `struct ConvolutionDescriptor`
7. `struct DropoutDescriptor`
8. `struct RNNDescriptor`

to enable adding extensions that make use of them.

Pull Request resolved: pytorch#154545
Approved by: https://github.com/jeffdaily, https://github.com/Skylion007

Co-authored-by: Jeff Daily <[email protected]>
@apakbin apakbin requested a review from jerrymannil June 2, 2025 02:33
@apakbin apakbin marked this pull request as ready for review June 2, 2025 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants