Enzyme Rules for ROCArray constructors
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 344
- Forks
- 79
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 25
Description
See https://github.com/EnzymeAD/Enzyme.jl/issues/1771
CUDA.jl has Enzyme rules for CuArray constructors, and kernel launches. See https://github.com/JuliaGPU/CUDA.jl/blob/master/ext/EnzymeCoreExt.jl
Importing ROCArray versions of these here would enable a similar level of functionality on AMDGPU and likely benefit many users.
cc @jariji
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with EnzymeAD/Enzyme.jl issue 1771 and CUDA.jl's ext/EnzymeCoreExt.jl, which is cited as the reference for CuArray constructors and kernel launches. Trace the corresponding ROCArray entry points in AMDGPU.jl and determine the matching Enzyme rules; done means AMDGPU provides comparable constructor and launch functionality.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- hpc
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100