Skip to content

[HIPIFY][feature] Partial hipification support for a particular CUDA API #2062

@emankov

Description

@emankov

[Synopsis]

  • We already have situations with changed API/ABI from both CUDA and HIP.
  • For example, the cuCtxCreate API has changed in CUDA 13.0.0, and it is currently unsupported by HIP; but it is supported for the previous CUDA versions.
  • For those supported CUDA versions, such an API should have an option for attributing the supported CUDA versions.
  • Hipification of such a partially supported API should go with or without warning.
  • Currently, if a particular CUDA API is marked as HIP_UNSUPPORTED, hipification doesn't occur despite the CUDA_VERSION.

[Tasks]

  • Additional API attributing for specifying the supported CUDA versions
    • [Short Term] Attribute for the latest supported CUDA version
    • [Long Term] Ability to specify version lists and ranges
  • Hipify partially supported API for the supported CUDA version(s)
  • Do not hipify partially supported API for the unsupported CUDA version(s)
  • [doc] Additional column for indicating such partially supported APIs
  • [hipify-perl] Update correspondingly

Metadata

Metadata

Assignees

Labels

CUDACUDA-relatedHIPRelated to ROCm HIP Runtime or CLRfeatureFeature request or implementation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions