30 #ifndef HIPCUB_ROCPRIM_BLOCK_BLOCK_LOAD_FUNC_HPP_
31 #define HIPCUB_ROCPRIM_BLOCK_BLOCK_LOAD_FUNC_HPP_
33 #include "../../../config.hpp"
35 #include <rocprim/block/block_load_func.hpp>
37 BEGIN_HIPCUB_NAMESPACE
42 typename InputIteratorT
45 void LoadDirectBlocked(
int linear_id,
46 InputIteratorT block_iter,
47 T (&items)[ITEMS_PER_THREAD])
49 ::rocprim::block_load_direct_blocked(
50 linear_id, block_iter, items
57 typename InputIteratorT
60 void LoadDirectBlocked(
int linear_id,
61 InputIteratorT block_iter,
62 T (&items)[ITEMS_PER_THREAD],
65 ::rocprim::block_load_direct_blocked(
66 linear_id, block_iter, items, valid_items
74 typename InputIteratorT
77 void LoadDirectBlocked(
int linear_id,
78 InputIteratorT block_iter,
79 T (&items)[ITEMS_PER_THREAD],
83 ::rocprim::block_load_direct_blocked(
84 linear_id, block_iter, items, valid_items, oob_default
93 void LoadDirectBlockedVectorized(
int linear_id,
95 T (&items)[ITEMS_PER_THREAD])
97 ::rocprim::block_load_direct_blocked_vectorized(
98 linear_id, block_iter, items
105 int ITEMS_PER_THREAD,
106 typename InputIteratorT
109 void LoadDirectStriped(
int linear_id,
110 InputIteratorT block_iter,
111 T (&items)[ITEMS_PER_THREAD])
113 ::rocprim::block_load_direct_striped<BLOCK_THREADS>(
114 linear_id, block_iter, items
121 int ITEMS_PER_THREAD,
122 typename InputIteratorT
125 void LoadDirectStriped(
int linear_id,
126 InputIteratorT block_iter,
127 T (&items)[ITEMS_PER_THREAD],
130 ::rocprim::block_load_direct_striped<BLOCK_THREADS>(
131 linear_id, block_iter, items, valid_items
139 int ITEMS_PER_THREAD,
140 typename InputIteratorT
143 void LoadDirectStriped(
int linear_id,
144 InputIteratorT block_iter,
145 T (&items)[ITEMS_PER_THREAD],
149 ::rocprim::block_load_direct_striped<BLOCK_THREADS>(
150 linear_id, block_iter, items, valid_items, oob_default
156 int ITEMS_PER_THREAD,
157 typename InputIteratorT
160 void LoadDirectWarpStriped(
int linear_id,
161 InputIteratorT block_iter,
162 T (&items)[ITEMS_PER_THREAD])
164 ::rocprim::block_load_direct_warp_striped(
165 linear_id, block_iter, items
171 int ITEMS_PER_THREAD,
172 typename InputIteratorT
175 void LoadDirectWarpStriped(
int linear_id,
176 InputIteratorT block_iter,
177 T (&items)[ITEMS_PER_THREAD],
180 ::rocprim::block_load_direct_warp_striped(
181 linear_id, block_iter, items, valid_items
188 int ITEMS_PER_THREAD,
189 typename InputIteratorT
192 void LoadDirectWarpStriped(
int linear_id,
193 InputIteratorT block_iter,
194 T (&items)[ITEMS_PER_THREAD],
198 ::rocprim::block_load_direct_warp_striped(
199 linear_id, block_iter, items, valid_items, oob_default