Adding some optimisations for the gpu drivers