Is there way to do forward and backward prefix scan op for N arrayes in one call? #1055
Replies: 0 comments 5 replies
-
@solution3000 how LEN is big? |
Beta Was this translation helpful? Give feedback.
-
LEN=4096, or 8192 |
Beta Was this translation helpful? Give feedback.
-
I think it better to make 100000 single-threaded scans. |
Beta Was this translation helpful? Give feedback.
-
Actually, datatype of Array is single float(float32), in sum scan, I must take care of rounding error, and want to use float-float scheme to ensure sum scan precision |
Beta Was this translation helpful? Give feedback.
-
You can just use a |
Beta Was this translation helpful? Give feedback.
-
hi,
I have N equal-sized arrayes, e.g.,
int [N][LEN] Array;
and for each &Array[i][0], firstly I do forward-direction prefix sum scan, then backward-direction!
N is a big number(~100000), and the performance should be taken into consideration!
So I need some kind of batched scan functionality in thrust !
Any suggestion is appreciated!
Thx!
Beta Was this translation helpful? Give feedback.
All reactions