automation for setting GMX_GPU & cmake GPU detection