llvm / llvm/offload-test-suite

[Metal] Metal unsupported 64 bit wave ops

Open
#959 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

Several wave intrinsics fails on Metal due to metal-shaderconverter not supporting 64bit wave ops.

List of tests that fails:

  • QuadReadAcrossDiagonal.int64.test
  • QuadReadAcrossX.int64.test
  • QuadReadAcrossY.int64.test
  • WavePrefixProduct.int64.test
  • WavePrefixSum.int64.test
  • WaveReadLaneAt.Int.64.test

stdout:

metal-shaderconverter: [callSIMDOp:6647] Fatal: Unsupported 64bit wave op

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

Start by reproducing the failures in the listed QuadRead, WavePrefix, and WaveReadLaneAt int64 tests and confirm the metal-shaderconverter diagnostic. Trace how these tests are run for Metal, then determine what project change would make the affected tests pass or otherwise define the expected handling of the unsupported 64-bit wave operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.