From d7861b946f306a4aedd2e8b7552804d5f7a5dcd6 Mon Sep 17 00:00:00 2001 From: Roy Oursler <roy.j.oursler@intel.com> Date: Fri, 10 Jan 2025 14:07:28 -0800 Subject: [PATCH] xe: ocl: support int->int load and write This is necessary for reading and writing accumulators with type s32. --- src/gpu/intel/ocl/ocl_io.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gpu/intel/ocl/ocl_io.h b/src/gpu/intel/ocl/ocl_io.h index 18d3e53d239..0729b0ec607 100644 --- a/src/gpu/intel/ocl/ocl_io.h +++ b/src/gpu/intel/ocl/ocl_io.h @@ -77,6 +77,7 @@ DEF_load(float, char); DEF_load(float, uchar); DEF_load(int, char); DEF_load(int, uchar); +DEF_load(int, int); DEF_load(float, bf16); // Writes @@ -88,6 +89,7 @@ DEF_write(float, float); DEF_write(char, int); DEF_write(uchar, int); DEF_write(bf16, int); +DEF_write(int, int); DEF_write(float, int); DEF_write(int, float);