Got a slow version to work, looks like problem is original loop over thrust::transform_reduce().
Got a slow version to work, looks like problem is original loop over thrust::transform_reduce().

brandonckelly/CUDAHM,brandonckelly/CUDAHM