summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
authorMin Zhou <zhoumin@loongson.cn>2024-01-17 16:42:51 +0800
committerKamil Konieczny <kamil.konieczny@linux.intel.com>2024-01-18 11:17:17 +0100
commit9cfdaa97d16ea1c2920e10416fcc034177c7bd17 (patch)
treed9ac52060e7d0549c8d3a8e24078a444e42049a5 /opencl
parenta2d1f6f3922ec6b6dcef2ddf5f8734e30d3a80a8 (diff)
opencl/gen_opencl_kernel: Fix code generation
Since commit 1e0900fdb939 ("lib/intel_compute: Migrate xe_compute library to intel_compute") had changed the `struct xe_compute_kernels` to `struct intel_compute_kernels`, we should update it in the ./opencl/gen_opencl_kernel script. Signed-off-by: Min Zhou <zhoumin@loongson.cn> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Diffstat (limited to 'opencl')
-rwxr-xr-xopencl/gen_opencl_kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/opencl/gen_opencl_kernel b/opencl/gen_opencl_kernel
index e6f9601e0..15c6313d9 100755
--- a/opencl/gen_opencl_kernel
+++ b/opencl/gen_opencl_kernel
@@ -84,7 +84,7 @@ INCLUDES
cat $out_files >>$output_fname
-echo "const struct xe_compute_kernels ${kernel_name}_kernels[] = {" >>$output_fname
+echo "const struct intel_compute_kernels ${kernel_name}_kernels[] = {" >>$output_fname
for i in "${args[@]}"; do
out="$dest_dir/${i}_${kernel_name}.h"