提交 1d884eb9 编写于 作者: L liuqi

Support openmp for cpu runtime.

上级 e4bda537
......@@ -5,12 +5,13 @@ load(
"if_production_mode",
"if_not_production_mode",
"if_hexagon_enabled",
"if_openmp_enabled",
)
cc_binary(
name = "mace_run",
srcs = ["mace_run.cc"],
linkopts = if_neon_enabled(["-fopenmp"]),
linkopts = if_openmp_enabled(["-fopenmp"]),
linkstatic = 1,
deps = [
"//codegen:generated_models",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册