llvm / llvm/offload-test-suite

[Metal] Add support for dynamic resources

Open
#1,414 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
18
Forks
39
Avg merge
2d 18h
Merged PRs (30d)
40

Description

In https://github.com/llvm/offload-test-suite/issues/1360 a new `HeapIndex` parameter is going to be added to the `Resource` yaml element allow specifying where a resource can be found on the CVB/SRV/UAV or Sampler heap, for the purpose of direct resource indexing. We need to add support for this to the Metals' `MTLDevice.cpp` implementation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read issue 1360 first to understand the new HeapIndex field on Resource YAML elements, then inspect the Metal implementation in MTLDevice.cpp. Trace how resources are currently located on CVB, SRV, UAV, and Sampler heaps. Done means Metal honors the specified heap location for direct resource indexing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.