JuliaIO / JuliaIO/ObjectFile.jl
`readmeta` for `mlx.metallib` returns a 1-element array of MachO Handle (32-bit)
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 17
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Calling readmeta on mlx.metallib from https://files.pythonhosted.org/packages/93/07/57feaad207d1ce0d690d255cda0c35b9246911cc24f2f3c0634000ed658f/mlx-0.20.0-cp313-cp313-macosx_13_0_arm64.whl does not return a FatMachOHandle as expected in runtests.jl#L184, but instead returns:
readmeta(open(joinpath(pwd(), "test", "macmetal", "mlx.metallib")))
1-element Vector{MachOHandle{IOStream}}:
MachO Handle (32-bit)
I know #38 only added rudimentary support for handling metallib's - mostly just reporting this to keep track of the issue.
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
Reproduce the result with test/macmetal/mlx.metallib and compare it with the expectation in runtests.jl#L184. Read the rudimentary metallib support added in #38 and trace why readmeta returns a one-element MachOHandle array instead of a FatMachOHandle. Done means the behavior is understood and covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100