added basic validation for gpu