A few GPU enabled functions