| 42 | } |
| 43 | |
| 44 | void param_update_kernel(const float* input, sycl::half* output, int size) |
| 45 | { |
| 46 | auto item_ct1 = sycl::ext::oneapi::experimental::this_nd_item<3>(); |
| 47 | int id = item_ct1.get_group(2) * item_ct1.get_local_range(2) + item_ct1.get_local_id(2); |
| 48 | |
| 49 | if (id < size) { output[id] = (sycl::half)input[id]; } |
| 50 | } |
| 51 | |
| 52 | void launch_param_update(const float* input, sycl::half* output, int size, sycl::queue* stream) |
| 53 | { |
no outgoing calls
no test coverage detected