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

オープン
#321 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cmake
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
CMake
スター
4.7k
フォーク
321
平均マージ
13分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenMoonRay/openmoonray のほかの issue

OpenMoonRay/openmoonray の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。