Skip to content

Instantly share code, notes, and snippets.

View jaredhoberock's full-sized avatar

Jared Hoberock jaredhoberock

  • NVIDIA
  • Kansas
View GitHub Profile
@jaredhoberock
jaredhoberock / Particles.cu
Created June 7, 2012 20:59 — forked from dangets/Particles.cu
CUDA Thrust Structure of Arrays reference as normal structure (working)
template<typename Vector>
struct Particles {
typedef typename Vector::value_type T;
typedef thrust::zip_iterator<
thrust::tuple<
typename Vector::iterator,
typename Vector::iterator,