From 3a4474b9f623e16885c7aadbc4c0b4b18ec304b3 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajewski Date: Mon, 2 Nov 2020 11:58:08 +0100 Subject: [PATCH] Pass -cl-intel-no-spill internal option to IGC while scheduler compilation Change-Id: Ib91da09a268fff597aadc5dda8720ca6703d56ec Signed-off-by: Andrzej Ratajewski --- opencl/source/scheduler/scheduler_binary.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencl/source/scheduler/scheduler_binary.cmake b/opencl/source/scheduler/scheduler_binary.cmake index 00cfce717b..be8ac7f42b 100644 --- a/opencl/source/scheduler/scheduler_binary.cmake +++ b/opencl/source/scheduler/scheduler_binary.cmake @@ -48,7 +48,7 @@ function(compile_kernel target gen_type platform_type kernel) list(APPEND __cloc__options__ "-cl-intel-disable-a64WA") add_custom_command( OUTPUT ${OUTPUTPATH} - COMMAND ${cloc_cmd_prefix} -q -file ${kernel} -device ${DEFAULT_SUPPORTED_${gen_type}_${platform_type}_PLATFORM} -cl-intel-greater-than-4GB-buffer-required -${NEO_BITS} -out_dir ${OUTPUTDIR} -cpp_file -options "$" + COMMAND ${cloc_cmd_prefix} -q -file ${kernel} -device ${DEFAULT_SUPPORTED_${gen_type}_${platform_type}_PLATFORM} -cl-intel-greater-than-4GB-buffer-required -${NEO_BITS} -out_dir ${OUTPUTDIR} -cpp_file -options "$" -internal_options "-cl-intel-no-spill" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${kernel} ocloc copy_compiler_files )