From 17073acc3e721deeafaa4aec5986017ebeaf85f1 Mon Sep 17 00:00:00 2001 From: Guo Yejun Date: Thu, 22 Jan 2015 10:29:42 +0800 Subject: correct the cache line size to be 64 the correct value of cache line size is 64 bytes, not 128. Signed-off-by: Guo Yejun Reviewed-by: Zhigang Gong --- src/cl_gen75_device.h | 2 +- src/cl_gen7_device.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cl_gen75_device.h b/src/cl_gen75_device.h index 8cf2dcd5..43f6e8ff 100644 --- a/src/cl_gen75_device.h +++ b/src/cl_gen75_device.h @@ -20,7 +20,7 @@ /* Common fields for both SNB devices (either GT1 or GT2) */ .max_parameter_size = 1024, -.global_mem_cache_line_size = 128, /* XXX */ +.global_mem_cache_line_size = 64, /* XXX */ .global_mem_cache_size = 8 << 10, /* XXX */ .local_mem_type = CL_GLOBAL, .local_mem_size = 64 << 10, diff --git a/src/cl_gen7_device.h b/src/cl_gen7_device.h index 6857f8a6..4ad5d96d 100644 --- a/src/cl_gen7_device.h +++ b/src/cl_gen7_device.h @@ -19,7 +19,7 @@ /* Common fields for both IVB devices (either GT1 or GT2) */ .max_parameter_size = 1024, -.global_mem_cache_line_size = 128, /* XXX */ +.global_mem_cache_line_size = 64, /* XXX */ .global_mem_cache_size = 8 << 10, /* XXX */ .local_mem_type = CL_GLOBAL, .local_mem_size = 64 << 10, -- cgit v1.2.3