ProjectPhysX / ProjectPhysX/OpenCL-Benchmark

Request: support add perf testing of matrix multiply "accelerator units" in benchmark..

Open
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
331
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Hi,
seems after dot product (int8) support next "hot" feature could add is "matrix multiply accelerator" perf testing support..
aka tensor cores on nvidia etc...
searching on opencl.gpuinfo.org I see ARM and Intel extensions (not Nvidia nor AMD nor Qualcomm which is sad to see):
*cl_arm_matrix_multiply 0.4%
*cl_intel_subgroup_matrix_multiply_accumulate 2.2%
*cl_intel_subgroup_matrix_multiply_accumulate_tf32 0.5%
*cl_intel_subgroup_split_matrix_multiply_accumulate 1.6%

of intel the one to test seems "cl_intel_subgroup_matrix_multiply_accumulate" (as tf32 is the tensorfloat32 variant) supported on Intel ARC on Windows and Linux and also..

the ARM one is only supported on Pixel products which is sad:
https://opencl.gpuinfo.org/listreports.php?extension=cl_arm_matrix_multiply
more sad is that no ext seems published altough seems to be supported in ARM Compute library which is open source I think so maybe there is code to learn from..:
https://android.googlesource.com/platform/external/ComputeLibrary/+/refs/heads/android14-qpr1-s2-release%5E1..refs/heads/android14-qpr1-s2-release/

so in brief.. do you plan on investigating adding a cross vendor "matrix multiply accelerator units" test at least for Intel and ARM GPUs..

NOTE: vkpeak does the same with equivalent cooperative matrix ext, but there HW support is broader (AMD,NV,Intel, etc..)

thanks..

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 locating the existing int8 dot-product benchmark and the project’s OpenCL extension handling. Review the referenced ARM and Intel matrix-multiply extensions and compare their availability across vendors. Done means the benchmark has a documented cross-vendor matrix-multiply accelerator performance test, with results that can be run on supported hardware.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.