KhronosGroup / KhronosGroup/OpenCL-CTS
Offline compilation source files should exclude build options hash in filename.
- Dominant language
- C++
- Stars
- 232
- Forks
- 235
- Avg merge
- 8d 7h
- Merged PRs (30d)
- 18
Description
When offline compilation is performed, the OpenCL C source files written include two hashes: one of the file contents, and a second hash containing the build options.
It is appropriate for the build options hash to be included in name of the SPIR-V or binary file that is the output of the compiler, but there is no benefit in including the build options hash in the source file name: doing so leads to the creation of duplicates of the source files.
The figures I have indicate that addressing this would roughly halve the number of CL source files written into the compilation cache of a full CTS run.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the offline compilation cache code that constructs OpenCL C source filenames and compare it with SPIR-V and binary naming. Verify that source names no longer vary with build options and that a full CTS run no longer creates duplicate source files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100