Skip to content

Commit b3364d4

Browse files
committed
fix(Macos): fix compile on macos
test=develop
1 parent a685f30 commit b3364d4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

paddle/fluid/memory/allocation/best_fit_allocator_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// limitations under the License.
1414

1515
#include "paddle/fluid/memory/allocation/best_fit_allocator.h"
16+
#include <random>
1617
#include <thread> // NOLINT
1718
#include <vector>
1819
#include "gtest/gtest.h"

paddle/fluid/memory/allocation/best_fit_allocator_test.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#include <random>
1516
#include <thread> // NOLINT
1617
#include <vector>
1718
#include "gtest/gtest.h"

0 commit comments

Comments
 (0)