Still implementing GPU version.