Skip to content

Commit feb04a8

Browse files
committed
Merge branch 'main' of github.com:rapidsai/rapidsmpf into Make-unbounded-fanout-state-spillable
Signed-off-by: niranda perera <niranda.perera@gmail.com>
2 parents 363b61e + a517da9 commit feb04a8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cpp/include/rapidsmpf/memory/memory_type.hpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ constexpr std::array<char const*, MEMORY_TYPES.size()> MEMORY_TYPE_NAMES{
3535
*/
3636
constexpr std::array<MemoryType, 1> SPILL_TARGET_MEMORY_TYPES{{MemoryType::HOST}};
3737

38+
/**
39+
* @brief Memory types that are valid spill destinations in decreasing order of
40+
* preference.
41+
*
42+
* This array defines the preferred targets for spilling when device memory is
43+
* insufficient. The ordering reflects the policy of spilling in RapidsMPF, where
44+
* earlier entries are considered more desirable spill destinations.
45+
*/
46+
constexpr std::array<MemoryType, 1> SPILL_TARGET_MEMORY_TYPES{{MemoryType::HOST}};
47+
3848
/**
3949
* @brief Get the lower memory types than or equal to the @p mem_type .
4050
*

0 commit comments

Comments
 (0)