JuliaGPU / JuliaGPU/AMDGPU.jl

Enzyme Rules for ROCArray constructors

Open
#667 0 comments 0 reactions 0 assignees View on GitHub

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

x/ref https://github.com/EnzymeAD/Enzyme.jl/issues/1771

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.