mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-31 21:23:49 +08:00
gpu
This commit is contained in:
@@ -553,7 +553,7 @@ def compile_driving(
|
||||
for qcom_only_flag in ("IMAGE", "NOLOCALS", "OPENPILOT_HACKS"):
|
||||
compile_env.pop(qcom_only_flag, None)
|
||||
compile_env.update({
|
||||
"DEBUG": "2",
|
||||
"DEBUG": "1",
|
||||
"DEV": "USB+AMD:LLVM",
|
||||
"WARP_DEV": "QCOM",
|
||||
"FLOAT16": "1",
|
||||
|
||||
@@ -108,6 +108,7 @@ def test_external_gpu_compilation_is_opt_in(tmp_path, monkeypatch):
|
||||
assert normal_kwargs["env"]["DEV"] == "QCOM"
|
||||
assert normal_kwargs["env"]["IMAGE"] == "2"
|
||||
assert "--out-of-band" in external_command
|
||||
assert external_kwargs["env"]["DEBUG"] == "1"
|
||||
assert external_kwargs["env"]["DEV"] == "USB+AMD:LLVM"
|
||||
assert external_kwargs["env"]["WARP_DEV"] == "QCOM"
|
||||
assert all(flag not in external_kwargs["env"] for flag in ("IMAGE", "NOLOCALS", "OPENPILOT_HACKS"))
|
||||
|
||||
Reference in New Issue
Block a user