“ff36389452c1af6cc6a5f03b5ca52404ab20f108”上不存在“paddle/fluid/framework/data_device_transform.h”
Make global scope not thread-safe (#4850)
* Make global scope not thread-safe 1. It is no need to make global scope thread-safe, since it will be invoked in Python main thread. 2. Do not free the global scope when C++ exit. Let the OS free memories, otherwise, we need to handle the destroy dependencies. See https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables * Revert "FIX: Release CPU/GPU memory via deleter" This reverts commit 8f80f5bc.
Showing
想要评论请 注册 或 登录