mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
CMake: Block bindless compilation for Gen8 + minor cleanup
- Do not compile test binaries in bindless mode for BDW (Gen8) - add missing conditional. - Remove unused CMake variables. Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bd07b3ec97
commit
58a56a6223
@@ -19,21 +19,10 @@ set(BUILTIN_OPTIONS_STATELESS
|
||||
"-cl-intel-greater-than-4GB-buffer-required"
|
||||
)
|
||||
|
||||
set(bindless_OPTIONS
|
||||
-internal_options "-cl-intel-use-bindless-mode -cl-intel-use-bindless-advanced-mode"
|
||||
)
|
||||
|
||||
set(bindful_OPTIONS
|
||||
""
|
||||
)
|
||||
|
||||
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
list(APPEND __ocloc__options__ "-D DEBUG")
|
||||
endif()
|
||||
|
||||
set(BUILTINS_INCLUDE_DIR ${TargetDir} PARENT_SCOPE)
|
||||
set(BUILTIN_CPP "")
|
||||
|
||||
function(get_bits_for_stateless core_type platform_type)
|
||||
# Force 32bits compiling on gen9lp for stateless builtins
|
||||
if((${core_type} STREQUAL "GEN9") AND (${platform_type} STREQUAL "LP"))
|
||||
|
||||
Reference in New Issue
Block a user