mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Compile kernels per platform type (core/lp)
compiled kernels are in (binary dir)/(family name with type) folder Change-Id: Ied1827ab7f4ecc5c1de4c3535b1c0ba3b5cd86ee
This commit is contained in:
committed by
sys_ocldev
parent
34ff5852eb
commit
abbc0a5471
@@ -93,3 +93,9 @@ macro(apply_macro_for_each_test_config type)
|
||||
macro_for_each_test_config()
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
macro(get_family_name_with_type gen_type platform_type)
|
||||
string(REPLACE "GEN" "Gen" gen_type_capitalized ${gen_type})
|
||||
string(TOLOWER ${platform_type} platform_type_lower)
|
||||
set(family_name_with_type ${gen_type_capitalized}${platform_type_lower})
|
||||
endmacro()
|
||||
|
||||
Reference in New Issue
Block a user