inplace dropout for CUDA