Skip to content

Commit 29e0592

Browse files
committed
Add missing includes to some headers.
Bug 2481378 Bug 200475391
1 parent eea6888 commit 29e0592

10 files changed

Lines changed: 16 additions & 0 deletions

File tree

thrust/mr/disjoint_pool.h

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

2626
#include <thrust/host_vector.h>
2727
#include <thrust/binary_search.h>
28+
#include <thrust/detail/seq.h>
2829

2930
#include <thrust/mr/memory_resource.h>
3031
#include <thrust/mr/allocator.h>

thrust/per_device_resource.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
#include <thrust/system/detail/generic/per_device_resource.h>
2525
#include <thrust/system/detail/adl/per_device_resource.h>
2626

27+
#include <thrust/detail/execution_policy.h>
28+
#include <thrust/mr/allocator.h>
29+
2730
THRUST_BEGIN_NS
2831

2932
/*! Returns a global instance of \p MR for the current device of the provided system.

thrust/system/cpp/pointer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include <thrust/detail/config.h>
2020
#include <thrust/system/cpp/detail/execution_policy.h>
2121
#include <thrust/detail/type_traits.h>
22+
#include <thrust/detail/pointer.h>
23+
#include <thrust/detail/reference.h>
2224

2325
namespace thrust
2426
{

thrust/system/cuda/detail/per_device_resource.h

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

3737
#include <thrust/system/cuda/config.h>
3838

39+
#include <thrust/system/cuda/detail/util.h>
3940
#include <thrust/system/cuda/detail/execution_policy.h>
4041

4142
#include <mutex>

thrust/system/cuda/pointer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <thrust/system/cuda/detail/execution_policy.h>
2121
#include <thrust/detail/type_traits.h>
2222
#include <thrust/detail/pointer.h>
23+
#include <thrust/detail/reference.h>
2324

2425
namespace thrust
2526
{

thrust/system/detail/generic/per_device_resource.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#pragma once
1818

1919
#include <thrust/detail/config.h>
20+
#include <thrust/detail/execution_policy.h>
2021
#include <thrust/system/detail/generic/tag.h>
2122
#include <thrust/mr/memory_resource.h>
2223

thrust/system/detail/generic/select_system.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <thrust/detail/type_traits.h>
2323
#include <thrust/iterator/detail/minimum_system.h>
2424
#include <thrust/iterator/detail/device_system_tag.h>
25+
#include <thrust/iterator/detail/any_system_tag.h>
2526

2627
namespace thrust
2728
{

thrust/system/omp/pointer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
#include <thrust/detail/config.h>
2424
#include <thrust/system/omp/detail/execution_policy.h>
25+
#include <thrust/detail/type_traits.h>
26+
#include <thrust/detail/pointer.h>
27+
#include <thrust/detail/reference.h>
2528

2629
namespace thrust
2730
{

thrust/system/tbb/pointer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#include <thrust/detail/config.h>
1818
#include <thrust/system/tbb/detail/execution_policy.h>
1919
#include <thrust/detail/type_traits.h>
20+
#include <thrust/detail/pointer.h>
21+
#include <thrust/detail/reference.h>
2022

2123
namespace thrust
2224
{

thrust/type_traits/integer_sequence.h

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

2121
#include <type_traits>
2222
#include <cstdint>
23+
#include <utility>
2324

2425
THRUST_BEGIN_NS
2526

0 commit comments

Comments
 (0)