KhronosGroup / KhronosGroup/SPIRV-Tools
Spirv-Link fails to combine modules with OpenCL extern kernel declarations
Open
component:link
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
The linker complains that the entrypoint is already defined. Perhaps this should simply be allowed for kernels.
Contributor guide
Research direction
Start by reproducing the SPIR-V linker failure with modules containing OpenCL extern kernel declarations, then trace how the linker detects duplicate entrypoints. The issue names no files or tests, so first locate the relevant linker code and existing diagnostics. Done means the valid modules combine without the duplicate-entrypoint error and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100