Detect gpu (16/17)

Detect gpu