From 35eb0616430abb82ed6c87c1c408e5ead93b5650 Mon Sep 17 00:00:00 2001 From: Shinnung Jeong Date: Tue, 3 Oct 2023 23:11:45 -0400 Subject: [PATCH] CMakeList change --- lib/CL/devices/vortex/pocl-vortex.c | 2 +- lib/kernel/CMakeLists.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/CL/devices/vortex/pocl-vortex.c b/lib/CL/devices/vortex/pocl-vortex.c index d88b2e240..7cc287541 100644 --- a/lib/CL/devices/vortex/pocl-vortex.c +++ b/lib/CL/devices/vortex/pocl-vortex.c @@ -299,7 +299,7 @@ pocl_vortex_init (unsigned j, cl_device_id device, const char* parameters) } // TODO : change this to vortex mem size - device->global_mem_size = 1024*1024*1024; //MIN_MAX_MEM_ALLOC_SIZE; + device->global_mem_size = 4*1024*1024*1024; //MIN_MAX_MEM_ALLOC_SIZE; POCL_MSG_WARN("GLOBAL_MEM_SIZE : %ld\n", device->global_mem_size); device->vendor = "Georgia Tech"; diff --git a/lib/kernel/CMakeLists.txt b/lib/kernel/CMakeLists.txt index e10a8ae67..0ab865396 100644 --- a/lib/kernel/CMakeLists.txt +++ b/lib/kernel/CMakeLists.txt @@ -196,7 +196,8 @@ set(KERNEL_TARGET_LIST "") #********************************************************************* -if(OCL_TARGETS MATCHES "host") +#if(OCL_TARGETS MATCHES "host") +if(OCL_TARGETS MATCHES "host" AND (NOT OCL_TARGETS MATCHES "vortex")) add_subdirectory("host") endif()