Remove unnecessary build check, Add check for gpu opts