diff options
| author | Wenju He <wenju.he@intel.com> | 2025-11-21 09:17:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-21 09:17:43 +0800 |
| commit | 423bdb2bf257e19271d62e60b6339d84b8ce05aa (patch) | |
| tree | 67659f7617bf852b5843d597eefcda561cca3813 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | 8439aebd3dd3e9d0586d44f0e8a68bba86785ae6 (diff) | |
[OpenCL] Add missing OpenCL 3.0 features to OpenCLExtensions.def; revert header-only macros (#168016)
Adds the remaining optional feature macros from the OpenCL C 3.0 spec
(section 6.2.1 table). Targets can now enable these via
OpenCLFeaturesMap returned by getSupportedOpenCLOpts().
Revert a84599f177a6 (header‑only feature macros).
Header‑only macros are difficult to disable on SPIR-V targets,
and the prior undef approach (a60b8f468119) does not scale.
After this PR, they can be disabled via `-cl-ext=-<feature>`.
https://github.com/KhronosGroup/OpenCL-Docs/issues/1328 also notes that
unconditional definition of the header‑only macros in opencl-c-base.h
should be removed.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
