KhronosGroup / KhronosGroup/OpenCL-CTS
Build fails without offline even when KHRONOS_OFFLINE_COMPILER not defined
- Dominant language
- C++
- Stars
- 232
- Forks
- 235
- Avg merge
- 8d 7h
- Merged PRs (30d)
- 18
Description
I am trying a build where I am not defining KHRONOS_OFFLINE_COMPILE since I am aiming to test OpenCL 2.0. I'm hitting a compile time failure in the function create_single_kernel_helper_create_program_offline in kernelHelpers.c since this function and its callers are not guarding the code with KHRONOS_OFFLINE_COMPILE.
Am I missing something? How are others with only 2.0 conformant implementations able to build and run this code?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with kernelHelpers.c and the function create_single_kernel_helper_create_program_offline, then trace its callers and their KHRONOS_OFFLINE_COMPILE guards. Reproduce a build without that definition while targeting OpenCL 2.0. Done means the code builds without the offline compiler definition and the affected path remains appropriately guarded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- build-system, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100