When we compile a PCH cl_khr_fp64 is enabled by default.
And its support is imported alongside with the PCH.
With this patch we can disable features enabled in the PCH we import
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 8724 Build 8724: arc lint + arc unit
Event Timeline
test/SemaOpenCL/extensions-import.cl | ||
---|---|---|
14 | You can use #ifdef cl_khr_fp64 to check if extension is supported. |
May be the name could be setAll since it's doing both enable and disable too.