LIVE / thrust /internal /test /thrust.example.scan_by_key.filecheck
Xu Ma
update
1c3c0d9
raw
history blame
944 Bytes
CHECK: Inclusive Segmented Scan w/ Key Sequence
CHECK-NEXT: keys : 0 0 0 1 1 2 2 2 2 3 4 4 5 5 5
CHECK-NEXT: input values : 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
CHECK-NEXT: output values : 2 4 6 2 4 2 4 6 8 2 2 4 2 4 6
CHECK: Inclusive Segmented Scan w/ Head Flag Sequence
CHECK-NEXT: head flags : 1 0 0 1 0 1 0 0 0 1 1 0 1 0 0
CHECK-NEXT: input values : 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
CHECK-NEXT: output values : 2 4 6 2 4 2 4 6 8 2 2 4 2 4 6
CHECK: Exclusive Segmented Scan w/ Key Sequence
CHECK-NEXT: keys : 0 0 0 1 1 2 2 2 2 3 4 4 5 5 5
CHECK-NEXT: input values : 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
CHECK-NEXT: output values : 0 2 4 0 2 0 2 4 6 0 0 2 0 2 4
CHECK: Exclusive Segmented Scan w/ Head Flag Sequence
CHECK-NEXT: head flags : 1 0 0 1 0 1 0 0 0 1 1 0 1 0 0
CHECK-NEXT: input values : 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
CHECK-NEXT: output values : 0 2 4 0 2 0 2 4 6 0 0 2 0 2 4