Questions tagged [stream-compaction]

23 questions
0
votes
1 answer

Cleaning and rejoining same node in cassandra cluster

We have Cassandra-0.8.2 cluster of 24 nodes and replication factor 2 . One of the node is quite slow and most of sstables on this node is corrupt.(We are not able to run compaction and not even scrub) So is it possible to clean the data,cache and…
0
votes
1 answer

CUDA Thrust How can I combine copy_if and transform without materialize data

Let's say we have two inputs, the first one is an array, and the second is a bitmap thrust::device_vector points; Bitset bits; // Imagine this can be accessed within the kernel. What I want to do is to copy valid points to an output…
geng liang
  • 90
  • 1
  • 6
0
votes
0 answers

Configure Kafka compaction to only clean up keys with tombstone values & leave keys with multiple instances

I am trying to create a replayable event stream using kafka. I understand that in standard usage the compaction is designed to clean up any duplicate keys within the log [source], and also keys that have an empty value. However, in my topic, I'd…
a.hrdie
  • 716
  • 2
  • 14
  • 35
0
votes
1 answer

Stream compaction and transform based on the index in CUDA

I have an array of float that I would like to perform a stram compaction operation on, like what is presented here: Parallel Prefix Sum (Scan) with CUDA, and then apply a transform based on the value and the address or the original element. For…
Pafnouti
  • 161
  • 1
  • 1
  • 8
0
votes
1 answer

thrust remove copy unique by key

I'm a bit confused on the best way to do the following: Say I have the following sorted key value pairs (K:V) (0 : .5)(0 : .7)(0 : .9) (1 : .2) (1 : .6) (1 : .8) and so on.. I want to remove copy the minimum value of each key so I'll have 2…
PipTDog
  • 3
  • 3
0
votes
1 answer

Stream compaction (or Array Packing) with prefix scan using Openmp

I am using openmp to parallelize my code. I have an original array: A=[3,5,2,5,7,9,-4,6,7,-3,1,7,6,8,-1,2] and a marks array: M=[1,0,1,0,0,0,1,0,0,1,1,0,0,0,1,1] using array M i can compact my original array in this packed…
Pierpym
  • 13
  • 4
0
votes
0 answers

Issue with CUDA array compaction using thrust zip_iterator

I'm having a confusing error when trying to compact multiple CUDA arrays using the thrust zip iterator. My case is simple: I have a thrust::vector of integers indicating the status of an object, and six vectors of floats indicating the object's…
DBaker
  • 1
0
votes
1 answer

Understanding the Final Value in a Stream Compaction Algorithm

What should happen with the final exclusive scan value in a stream compaction algorithm? This is an example to pick out all the 'A' characters. Sequence A: Input: A B B A A B B A Selection: 1 0 0 1 1 0 0 1 Scan: 0 1 1 1 2 3 3 3 0 -…
Dan
  • 33,953
  • 24
  • 61
  • 87
1
2