You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
589 B
13 lines
589 B
-- for now do not use avx-512 since it performs worse, and may cause instruction error under some cases
|
|
local ispc_target_list = {"sse2-i32x4",
|
|
"sse4.1-i32x4",
|
|
"avx1-i32x4",
|
|
"avx2-i32x4",
|
|
"avx2vnni-i32x4"}
|
|
|
|
target("cpu_acceleration_32x4")
|
|
set_kind("static")
|
|
add_rules("generate.ispc", {header_extension = "_ispc.h", arch = "x86-64", target_list = ispc_target_list})
|
|
add_includedirs("interface/", {public = true})
|
|
add_files("src/**.ispc")
|
|
add_files("src/**.cpp")
|