Issue |
151913
|
Summary |
[OpenCL] Failure writing the same vector type from different threads
|
Labels |
new issue
|
Assignees |
|
Reporter |
sanguinariojoe
|
I faced this bug on OpenCL, but it is probably affecting some other tools.
As confirmed [here](https://github.com/KhronosGroup/OpenCL-Docs/issues/1423), the following kernel should be working just fine:
```
__kernel void test_barrier(__global int2* a)
{
const int i = get_global_id(0);
a[i].y = i;
a[i + 1].x = i;
}
```
However, as discussed [here](https://gitlab.freedesktop.org/mesa/mesa/-/issues?show=eyJpaWQiOiIxMzYzMSIsImZ1bGxfcGF0aCI6Im1lc2EvbWVzYSIsImlkIjoxMzYxMDh9), clang is failing.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs