compare uchar1 device code question

I want to get the maximum of two uchar1 numbers in device code but don’t have proper functions to use. Could anybody help me out?