working min max gpu