Skip to content
  • Kenneth Moreland's avatar
    Explicitly add destructors and copy constructors to ArrayHandle classes · 7ff62d8d
    Kenneth Moreland authored
    Under CUDA, the default constructors and destructors created are exported
    as __host__ and __device__, which causes problems because they used a boost
    pointer that only works on the host. The explicit copy constructors and
    destructors do the same thing as the default ones except declared to only
    work on the host.
    7ff62d8d