KhronosGroup / KhronosGroup/SPIRV-Tools

[OpenCL validation] Recursion

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

Description

From the environment spec:
```
Recursion is not supported. The static function call graph for an entry point must not contain
cycles.
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the OpenCL validation entry point and the code that analyzes static function call graphs. Confirm how recursive cycles are currently handled, then add coverage for an entry point whose call graph contains a cycle and verify that validation rejects it according to the quoted environment specification.

Written by the indexing model from the issue text.

Assessment

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