uninit

create new variable with uninitialized array and the same shape/strides to v on CUDA

  1. auto uninit(Variable!(T, dim, HostStorage) v)
  2. auto uninit(Variable!(T, dim, DeviceStorage) v)
    version(grain_cuda)
    uninit
    (
    T
    size_t dim
    )

Meta