Allow resampling on CPU