ROCm / ROCm/AMDMIGraphX

xorshift support

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

Nobody has claimed this yet.

Dominant language
C++
Stars
333
Forks
150
Avg merge
4d 19h
Merged PRs (30d)
54

Description

xorshift is a well known random number generator algorithm.

It is used by Barracuda/UNITY, as it is very fast. We currently support it on the CPU, but not on the GPU.
Reference:
https://docs.unity3d.com/Packages/com.unity.mathematics@0.0/api/Unity.Mathematics.Random.html

Let's consider supporting it on the GPU as well.

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 CPU xorshift implementation and the GPU random-number support in this repository. Compare the implementation with the linked Unity.Mathematics.Random reference, then define the GPU integration points and tests needed to demonstrate xorshift support.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
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.