| Issue |
97310
|
| Summary |
[SPIR-V] Missing/incorrect builtin implementation OpGroupBroadcast
|
| Labels |
backend:SPIR-V
|
| Assignees |
|
| Reporter |
michalpaszkowski
|
```
Build options: -cl-std=CL3.0
Original source is: ------------
__kernel void test_wg_broadcast_2D(global float *input, global float *output)
{
size_t tid_x = get_global_id(0);
size_t tid_y = get_global_id(1);
size_t x = get_group_id(0) % get_local_size(0);
size_t y = get_group_id(1) % get_local_size(1);
size_t indx = (tid_y * get_global_size(0)) + tid_x;
float result = work_group_broadcast(input[indx], x, y);
output[indx] = result;
}
Build not successful for device "Intel(R) Graphics [0xa780]", status: CL_BUILD_ERROR
Build log for device "Intel(R) Graphics [0xa780]" is: ------------
error: undefined reference to `__builtin_spirv_OpGroupBroadcast_i32_f32_i64_i64'
in function: '__builtin_spirv_OpGroupBroadcast_i32_f32_i64_i64' called by kernel
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs