KhronosGroup / KhronosGroup/SPIRV-Tools

Be less conservative about donating atomic instructions

Open
#3,276 0 comments 0 reactions 0 assignees View on GitHub
component:fuzzer
Dominant language
C++
Stars
1.4k
Forks
709
Avg merge
1d 22h
Merged PRs (30d)
28

Description

For simplicity, spirv-fuzz is very conservative about donating atomic instructions and does not donate them at all.

However, it might be possible to be less conservative by properly understanding the conditions under which it makes sense to perform an atomic operation, and adapting instructions as needed.

Contributor guide

Open the contributing guide

Research direction

Start by examining spirv-fuzz's handling of atomic instruction donation and the conservatism described in the issue. Determine the conditions that would make donation valid, how instructions would need to be adapted, and what tests would demonstrate that supported atomic operations are donated without invalid transformations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.