Support for MacOS Metal Performance Shaders (MSP) based on py-metal-compute
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
まず src/backend/headless-gl/kernel.js を読み、Kernel の構造を WebGLKernel および HeadlessGLKernel と比較します。次に metalcompute パッケージの動作を調査し、その Metal ロジックを gpu.js にどのように組み込めるかを特定します。関連する GPU を利用できる、定義済みで動作する Metal バックエンドまたはカーネル統合ができれば完了としますが、この issue ではテストや受け入れ基準は指定されていません。
索引モデルが issue の本文から書いたものです。
説明
Dear GPU Community,
recently I've started to play around with brain.js and processing calculations on GPU with the goal to squeeze some performance out of my home server with Blackmagic Pro eGPU. Generally speaking, I was able to run a few tests successfully, but surprisingly all calculations have been processed on my internal graphics card, not on eGPU.
However, if running tests with py-metal-compute (metalcompute pip package), calculation is being processed on all 3 GPUs.
With that, I would like to try to contribute looking for a way to migrate the logic from metalcompute to gpu.js. From my first observations I would need to develop a Kernel that can be injected similar to WebGLKernel or HeadlessGLKernel. As a first step I'm trying to get familiar with the code in src/backend/headless-gl/kernel.js, but if there is some information that would give me a head start, I would highly appreciate!
Any guidance that would speedup the development, I would highly appreciate it!
Best,
Vitali
- 主要言語
- JavaScript
- スター
- 15.5k
- フォーク
- 663
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gpujs/gpu.js のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
-
WebGL backend silently returns all zeros for long-running kernels (no GL error, no context loss) オープン
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
TheOdinProject/curriculum#31423 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
WGBH-MLA/dream-aapb#69 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
Mintplex-Labs/anything-llm#6490 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
openlayers/ol-cesium#1364 ·