toHost

copy device memory to host (CAUTION: no reallocation here)

  1. ref toHost(M m, T[] host)
  2. auto toHost(M m, T* host)
    version(grain_cuda)
    toHost
    (
    M
    T
    )
    (
    ref M m
    ,
    T* host
    )
  3. auto toHost(M m)

Meta