예제 #1
0
파일: GPU_group.cs 프로젝트: hl10502/WCM
 public GPU_group(string uuid, string name_label, string name_description, List <XenRef <PGPU> > PGPUs, List <XenRef <VGPU> > VGPUs, string[] GPU_types, Dictionary <string, string> other_config, WinAPI.allocation_algorithm allocation_algorithm, List <XenRef <VGPU_type> > supported_VGPU_types, List <XenRef <VGPU_type> > enabled_VGPU_types)
 {
     this.uuid                 = uuid;
     this.name_label           = name_label;
     this.name_description     = name_description;
     this.PGPUs                = PGPUs;
     this.VGPUs                = VGPUs;
     this.GPU_types            = GPU_types;
     this.other_config         = other_config;
     this.allocation_algorithm = allocation_algorithm;
     this.supported_VGPU_types = supported_VGPU_types;
     this.enabled_VGPU_types   = enabled_VGPU_types;
 }
예제 #2
0
파일: GPU_group.cs 프로젝트: hl10502/WCM
 public static void set_allocation_algorithm(Session session, string _gpu_group, WinAPI.allocation_algorithm _allocation_algorithm)
 {
     session.proxy.gpu_group_set_allocation_algorithm(session.uuid, (_gpu_group != null) ? _gpu_group : "", allocation_algorithm_helper.ToString(_allocation_algorithm)).parse();
 }