summaryrefslogtreecommitdiff
path: root/src/cl_gt_device.h
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-05-04 09:14:08 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-05-05 16:20:02 +0800
commitffa393418cc6e133fecaf2f3b2d4e48aab213663 (patch)
treebcbe9d35af70aa6ce75dae8afa1f25114231d905 /src/cl_gt_device.h
parentb3042047af9bf3a78783fcca39a0b005c7d9090a (diff)
GBE: increase the global memory size to 1GB.
Also increase the global memory to 1GB. v2: change the max memory size to 256MB Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
Diffstat (limited to 'src/cl_gt_device.h')
-rw-r--r--src/cl_gt_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h
index 110988a1..7e45b4e0 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 = 256 * 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,