MAX_GPU_INSTANCE
struct amdgpu_gpu_instance gpu_ins[MAX_GPU_INSTANCE];
if (mgpu_info.num_gpu >= MAX_GPU_INSTANCE) {