intel / intel/llvm

[Upstream] Fix errors about unsupported sampler/image type

Open
#947 1 comment 0 reactions 0 assignees View on GitHub
upstream
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

clang emits errors from SYCL headers about unsupported OpenCL types:
```
lib/clang/10.0.0/include/CL/__spirv/spirv_ops.hpp:24:49: error: unknown type name '__ocl_sampler_t'
extern SampledType __spirv_SampledImage(ImageT, __ocl_sampler_t)
```

We reused OpenCL types for SYCL, like here https://reviews.llvm.org/D63710 .
But we can also try another approaches.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.