JuliaGPU / JuliaGPU/Metal.jl

Support kernel dispatch by total number of threads instead of threads per threadgroup

Open
#497 0 comments 1 reaction 0 assignees View on GitHub
speculative
Dominant language
Julia
Stars
463
Forks
68
Avg merge
1d 19m
Merged PRs (30d)
32

Description

I think the real fix may be to switch from [`dispatchThreadgroups`](https://developer.apple.com/documentation/metal/mtlcomputecommandencoder/1443138-dispatchthreadgroups?language=objc) to [`dispatchThreads`](https://developer.apple.com/documentation/metal/mtlcomputecommandencoder/2866532-dispatchthreads?language=objc) by default since all the devices we support support nonuniform threadgroup sizes.

However, this would be a very big (potentially breaking) change.

_Originally posted by @christiangnrd in https://github.com/JuliaGPU/Metal.jl/issues/496#issuecomment-2543146126_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.