Revert "some changes for gpu drivers"

This reverts commit c5c92b325c2810a5b75a7a2b39dc14e24ada9fc4.