aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compute/skc/platforms/cl_12/extent_cl_12.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compute/skc/platforms/cl_12/extent_cl_12.c')
-rw-r--r--src/compute/skc/platforms/cl_12/extent_cl_12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compute/skc/platforms/cl_12/extent_cl_12.c b/src/compute/skc/platforms/cl_12/extent_cl_12.c
index e145d979c2..2d90d0ecfa 100644
--- a/src/compute/skc/platforms/cl_12/extent_cl_12.c
+++ b/src/compute/skc/platforms/cl_12/extent_cl_12.c
@@ -166,7 +166,7 @@ skc_extent_thr_tdrw_alloc(struct skc_runtime * const runtime,
{
extent->size = size;
extent->hr = skc_runtime_host_temp_alloc(runtime,
- SKC_MEM_FLAGS_READ_WRITE,
+ SKC_MEM_FLAGS_READ_ONLY,
size,&extent->id.hr,NULL);
extent->drw = skc_runtime_device_temp_alloc(runtime,
CL_MEM_READ_WRITE,