Skip to content

Commit 9aa7815

Browse files
committed
device
1 parent 52f6ffd commit 9aa7815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accelerated_scan/warp.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ warpscan_forward(const at::Tensor &gates, const at::Tensor &tokens, const at::Te
347347
}
348348

349349
template <typename Tuple, int offset>
350-
Tuple load_shifted_tuple(const Tuple* ptr, int index, int limit) {
350+
__device__ Tuple load_shifted_tuple(const Tuple* ptr, int index, int limit) {
351351
using weight_t = typename Tuple::Type;
352352

353353
const weight_t* rawPtr = reinterpret_cast<const weight_t *>(ptr);

0 commit comments

Comments
 (0)