JuliaGPU / JuliaGPU/GPUArrays.jl

GPUArrays `rand` seeding fails when container is bigger than workgroup size

Open
#643 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
450
Forks
104
Avg merge
1d 4h
Merged PRs (30d)
10

Description

See linked comment below for context, but in short I'm getting different results than CI on the `rand` doctest that uses `GPUArrays.default_rng(MtlArray)`

> I was just getting different results locally and figured if it's unstable between devices maybe better to filter it out but maybe we should look into that instead (in a future pr). Lmk if I should revert the regex filter.

_Originally posted by @christiangnrd in https://github.com/JuliaGPU/Metal.jl/pull/641#discussion_r2240216770_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the rand doctest using GPUArrays.default_rng(MtlArray), then read the linked discussion in Metal.jl pull request 641 for the existing context. Reproduce the differing results with a container larger than the workgroup size and establish whether the doctest becomes consistent across the affected devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend, testing
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.