[Beignet] [PATCH] GBE: increase the max memory size to 1GB.

Song, Ruiling ruiling.song at intel.com
Mon May 5 00:44:07 PDT 2014


LGTM

-----Original Message-----
From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Zhigang Gong
Sent: Sunday, May 04, 2014 9:15 AM
To: beignet at lists.freedesktop.org
Cc: Gong, Zhigang
Subject: [Beignet] [PATCH] GBE: increase the max memory size to 1GB.

Also increase the global memory to 1GB.

Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
 src/cl_gt_device.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h index 110988a..0f9ad9e 100644
--- a/src/cl_gt_device.h
+++ b/src/cl_gt_device.h
@@ -37,7 +37,7 @@
 .native_vector_width_half = 16,
 .preferred_wg_sz_mul = 16,
 .address_bits = 32,
-.max_mem_alloc_size = 128 * 1024 * 1024,
+.max_mem_alloc_size = 1024 * 1024 * 1024,
 .image_support = CL_TRUE,
 .max_read_image_args = 128,
 .max_write_image_args = 8,
@@ -51,7 +51,7 @@
 .min_data_type_align_size = sizeof(cl_long) * 16,  .single_fp_config = 0, /* XXX */  .global_mem_cache_type = CL_READ_WRITE_CACHE, -.global_mem_size = 128 * 1024 * 1024,
+.global_mem_size = 1024 * 1024 * 1024,
 .max_constant_buffer_size = 512 << 10,
 .max_constant_args = 8,
 .error_correction_support = CL_FALSE,
--
1.8.3.2

_______________________________________________
Beignet mailing list
Beignet at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list