Move Existing Metal 3.1 code over to Metal 4 for Mac OS 26+

Đang mở
#321 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cmake
Lĩnh vực
backend

Hướng nghiên cứu

The issue identifies the CMake configuration and a Metal .mm file as the change points. Read those paths and the existing Metal 3.1 setup first, then check how the project selects its macOS build configuration. Done means macOS 26+ selects Metal 4 and the existing Metal 3.1 path remains available on older supported systems.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I'm formalizing this as issue here before starting some PR's to get this done.

All Apple silicon Hardware supports Metal 4 it simply a matter of checking the OS version as Metal 4 has a requirement of at least Mac OS 26 Tahoe.

The plan at this moment is to make a branch in the Cmake depending on OS version to include the right metal version, and to have a branch in the Metal mm file to properly assign the correct MTL4commandqueues and creation sequences.

There should not be any major changes to how everything functions in terms of the metal code. This is just a translation from the Existing Metal 3.1 code to their Metal 4 counterparts. There will be some benefits gained simply due to the how MTL4CommandQueues function that allow for better scheduling but this work for now is simply a way of moving the code forward to make it easier for future work.

Metal 4.1 does exist but is a minor change with features that could be useful but would push versioning up to a minimum of Mac OS 27.

Ngôn ngữ chính
CMake
Star
4.7k
Fork
321
Merge trung bình
13 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenMoonRay/openmoonray

Tất cả issue của OpenMoonRay/openmoonray

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.