Skip to content

Commit 5ed5097

Browse files
authored
Add unordered_map include to guard.cpp (#15077)
Fix some toolchain issue complaining `std::unordered_map` not available. ### Summary [PLEASE REMOVE] See [CONTRIBUTING.md's Pull Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests) for ExecuTorch PR guidelines. [PLEASE REMOVE] If this PR closes an issue, please add a `Fixes #<issue-id>` line. [PLEASE REMOVE] If this PR introduces a fix or feature that should be the upcoming release notes, please add a "Release notes: <area>" label. For a list of available release notes labels, check out [CONTRIBUTING.md's Pull Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests). ### Test plan [PLEASE REMOVE] How did you test this PR? Please write down any manual commands you used and note down tests that you have written if applicable.
1 parent dbd0e9f commit 5ed5097

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backends/cuda/runtime/guard.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <executorch/backends/cuda/runtime/guard.h>
1010
#include <executorch/runtime/platform/log.h>
11+
#include <unordered_map>
1112

1213
namespace executorch::backends::cuda {
1314

0 commit comments

Comments
 (0)