KhronosGroup / KhronosGroup/SPIRV-LLVM-Translator

Regular testing of SPIR-V using source from OpenCL CTS

Open
#547 1 comment 0 reactions 0 assignees View on GitHub
agenda
Dominant language
LLVM
Stars
625
Forks
279
Avg merge
3d 5h
Merged PRs (30d)
34

Description

We should perform regular testing of the translation to SPIR-V of IR compiled from OpenCL C source produced by the OpenCL CTS. We should use spirv-val from the SPIR-V Tools to validate the result. We should also testing translation of the SPIR-V back to LLVM IR, and unsure that the IR is valid.

Contributor guide

Open the contributing guide

Research direction

Start with the OpenCL CTS source and the existing translation entry points, then review how spirv-val can validate generated SPIR-V and how SPIR-V is translated back to LLVM IR. Done means regular CTS-based coverage validates both directions and confirms the resulting SPIR-V and LLVM IR are valid.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.