[metal] Metal shim and context module (#2) #10
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/2-metal-shim-context"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Metal runtime bridge for Apple Silicon GPU compute.
Changes
Verification
zig build✅zig build test✅zig build lint✅Closes #2
CHANGES_REQUESTED
sleepy_mtl_create_default_devicenot declared in shim struct (buffer.zig, pipeline.zig)ArrayListis unmanaged — pass allocator to init/deinit/appendfunction_name.ptris not null-terminated — copy to[*:0]const u8before passing to Obj-CFix all compilation errors and memory issues, then re-request review.
CHANGES_REQUESTED
cmdis*anyopaque, not optional.cmd != nullis invalid. Remove null check (try already guarantees success).zig build test. Remove_prefixes and reference them in a test block.CHANGES_REQUESTED
Compiled binary
main(1.8MB) committed ina06d9cc. Remove from git history and add to.gitignore.