Skip to content

Commit f2d72ba

Browse files
committed
Revert "make handles to be thread-local"
This reverts commit 0720ba5.
1 parent 0720ba5 commit f2d72ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/csrc/cudnn/Handles.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct Handle {
2121
};
2222

2323
std::mutex mutex;
24-
thread_local std::unordered_map<int, Handle> handles;
24+
std::unordered_map<int, Handle> handles;
2525

2626
} // namespace
2727

0 commit comments

Comments
 (0)