summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cl_gen75_device.h2
-rw-r--r--src/cl_gen7_device.h2
-rw-r--r--src/cl_gen8_device.h2
-rw-r--r--src/cl_gen9_device.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/cl_gen75_device.h b/src/cl_gen75_device.h
index 7ef2b828..a07583fc 100644
--- a/src/cl_gen75_device.h
+++ b/src/cl_gen75_device.h
@@ -21,7 +21,7 @@
.max_parameter_size = 1024,
.global_mem_cache_line_size = 64, /* XXX */
.global_mem_cache_size = 8 << 10, /* XXX */
-.local_mem_type = CL_GLOBAL,
+.local_mem_type = CL_LOCAL,
.local_mem_size = 64 << 10,
.scratch_mem_size = 2 << 20,
.max_mem_alloc_size = 2 * 1024 * 1024 * 1024ul,
diff --git a/src/cl_gen7_device.h b/src/cl_gen7_device.h
index e755cad6..01aa0f35 100644
--- a/src/cl_gen7_device.h
+++ b/src/cl_gen7_device.h
@@ -21,7 +21,7 @@
.max_parameter_size = 1024,
.global_mem_cache_line_size = 64, /* XXX */
.global_mem_cache_size = 8 << 10, /* XXX */
-.local_mem_type = CL_GLOBAL,
+.local_mem_type = CL_LOCAL,
.local_mem_size = 64 << 10,
.scratch_mem_size = 12 << 10,
.max_mem_alloc_size = 2 * 1024 * 1024 * 1024ul,
diff --git a/src/cl_gen8_device.h b/src/cl_gen8_device.h
index 08fde48d..e5968255 100644
--- a/src/cl_gen8_device.h
+++ b/src/cl_gen8_device.h
@@ -21,7 +21,7 @@
.max_parameter_size = 1024,
.global_mem_cache_line_size = 64, /* XXX */
.global_mem_cache_size = 8 << 10, /* XXX */
-.local_mem_type = CL_GLOBAL,
+.local_mem_type = CL_LOCAL,
.local_mem_size = 64 << 10,
.scratch_mem_size = 2 << 20,
.max_mem_alloc_size = 2 * 1024 * 1024 * 1024ul,
diff --git a/src/cl_gen9_device.h b/src/cl_gen9_device.h
index f50f9c78..be30a496 100644
--- a/src/cl_gen9_device.h
+++ b/src/cl_gen9_device.h
@@ -21,7 +21,7 @@
.max_parameter_size = 1024,
.global_mem_cache_line_size = 64, /* XXX */
.global_mem_cache_size = 8 << 10, /* XXX */
-.local_mem_type = CL_GLOBAL,
+.local_mem_type = CL_LOCAL,
.local_mem_size = 64 << 10,
.scratch_mem_size = 2 << 20,
.max_mem_alloc_size = 4 * 1024 * 1024 * 1024ul,