intel / intel/llvm

[SYCL] Add basic verification for accessor type

Open
#4,109 0 comments 0 reactions 1 assignee Claimed by @elizabethandrews View on GitHub
confirmed enhancement
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

When processing accessors, we use the template parameters to make various assumptions. It is important to ensure these parameters are defined as expected, to prevent the compiler from crashing due to a rogue library implementation.

An attempt was made to fix this here - https://github.com/intel/llvm/pull/4099

But it has been decided to wait for https://github.com/intel/llvm/pull/3892 to be implemented instead, since the checks can be done as part of attribute handling instead of the device compiler.

See - https://github.com/intel/llvm/pull/4099#issuecomment-879988921

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.