Skip to content

Commit 3f93cf8

Browse files
authored
Memalloc memory greater than 4 gb (#1406)
to allocate memory greater than 4 GB @CaoZhongZ Signed-off-by: baodii <di.bao@intel.com>
1 parent 6af3b97 commit 3f93cf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/BuildFlags.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "MSVC"
120120
set(SYCL_OFFLINE_COMPILER_CG_OPTIONS "${SYCL_OFFLINE_COMPILER_CG_OPTIONS} -cl-poison-unsupported-fp64-kernels")
121121
set(SYCL_OFFLINE_COMPILER_CG_OPTIONS "${SYCL_OFFLINE_COMPILER_CG_OPTIONS} -cl-intel-enable-auto-large-GRF-mode")
122122
set(SYCL_OFFLINE_COMPILER_CG_OPTIONS "${SYCL_OFFLINE_COMPILER_CG_OPTIONS} -cl-fp32-correctly-rounded-divide-sqrt")
123+
set(SYCL_OFFLINE_COMPILER_CG_OPTIONS "${SYCL_OFFLINE_COMPILER_CG_OPTIONS} -cl-intel-greater-than-4GB-buffer-required")
123124
set(SYCL_OFFLINE_COMPILER_CG_OPTIONS "-options '${SYCL_OFFLINE_COMPILER_CG_OPTIONS}'")
124125

125126
# LNL and BMG share the same compatibility name, which is BMG. BMG is defined as the base platform.

0 commit comments

Comments
 (0)