use thrust indices vector to determine termination
convert to 1D cuda kernel blocks
use idx_d buffer. wrote compactKernel.
finish writing stream compaction, doesn't work
small fix
testing compaction
adjust merge from stream-compact branch