cudaMalloc instead of thrust::device_vector