Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/SemaOpenCL/unsupported-image.cl | ||
---|---|---|
2 | Should we add -triple spir, as some of the image types (e.g. msaa) are part of an extension that may not be available for every default triple? |
clang/test/SemaOpenCL/unsupported-image.cl | ||
---|---|---|
2 | yes, the test might fail in some bots otherwise... Btw it would be good to test that 3d images work correctly for OpenCL 3. Would it work if we add RUN line with CL3.0 into test/SemaOpenCL/access-qualifier.cl or are we missing some more work to enable the test? |
clang/test/SemaOpenCL/unsupported-image.cl | ||
---|---|---|
2 |
Yes, that's correct. Thanks. Now it works locally because the default triple I have is x86 which supports all the extensions as well as SPIR.
Yeah, to properly test 3d images actually we need to add __opencl_c_images support first, because __opencl_c_3d_image_writes depends on it |
clang/test/SemaOpenCL/unsupported-image.cl | ||
---|---|---|
2 | Ok, I see. This can go to separate commits then. |
Should we add -triple spir, as some of the image types (e.g. msaa) are part of an extension that may not be available for every default triple?