Skip to content

Commit

Permalink
CMakeList change
Browse files Browse the repository at this point in the history
  • Loading branch information
shin0403 committed Oct 4, 2023
1 parent f6d1e55 commit 35eb061
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/CL/devices/vortex/pocl-vortex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
3 changes: 2 additions & 1 deletion lib/kernel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 35eb061

Please sign in to comment.