Remove unused variables in eki/builder/offloading/BlockAllocator.cpp
Summary:
LLVM-15 has a warning -Wunused-but-set-variable which we treat as an error because it's so often diagnostic of a code issue. Unused variables can compromise readability or, worse, performance.
This diff either (a) removes an unused variable and, possibly, it's associated code, or (b) qualifies the variable with [[maybe_unused]], mostly in cases where the variable is used, but, eg, in an assert statement that isn't present in production code.
- If you approve of this diff, please use the "Accept & Ship" button :-)
Reviewed By: dmm-fb
Differential Revision: D56065747
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3017
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
:x: 5 New Failures
As of commit 2f6d78ece94fa489f2312f784b524df2647786fb with merge base 458d743bc86387fa4a3190f5d716e65584b41402 ():
NEW FAILURES - The following jobs have failed:
-
pull / test-llama-runner-linux (fp32, buck2, portable) / linux-job (gh)
RuntimeError: Command docker exec -t 1d18a6c76984478f4a96ed4a71398a7e9c3c62e128d2af4fb57c814d621f489f /exec failed with exit code 3 -
pull / test-llama-runner-linux (fp32, buck2, xnnpack+kv+custom) / linux-job (gh)
RuntimeError: Command docker exec -t 8660f9394cc83ed8aea860e76d4c62f74bf5c0ecb583efaf87d627e25079770a /exec failed with exit code 3 -
pull / test-llama-runner-linux (fp32, cmake, portable) / linux-job (gh)
RuntimeError: Command docker exec -t 5f81973e009b97327dca31b41adbde3e3944bbc5356ecfba94f36db961094dd7 /exec failed with exit code 2 -
pull / test-llama-runner-linux (fp32, cmake, xnnpack+kv+custom) / linux-job (gh)
RuntimeError: Command docker exec -t 7523529f40c8639dff808b859fdaa8446c5c6e52a7386341db8fd4188d788754 /exec failed with exit code 2 -
pull / test-llama-runner-linux-android (cmake) / linux-job (gh)
RuntimeError: Command docker exec -t abeb996dbd1fd57ee03545eded66334ac027d1d2f18583b7863c6cb12878f961 /exec failed with exit code 2
This comment was automatically generated by Dr. CI and updates every 15 minutes.
This pull request was exported from Phabricator. Differential Revision: D56065747
This pull request was exported from Phabricator. Differential Revision: D56065747