GPUOptions.Experimental.VirtualDevicesOrBuilder

giao diện tĩnh công cộng GPUOptions.Experimental.VirtualDevicesOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công khai

phao trừu tượng
getMemoryLimitMb (chỉ mục int)
 Per "virtual" device memory limit, in MB.
int trừu tượng
getMemoryLimitMbCount ()
 Per "virtual" device memory limit, in MB.
Danh sách trừu tượng<Float>
getMemoryLimitMbList ()
 Per "virtual" device memory limit, in MB.
int trừu tượng
getPriority (chỉ số int)
 Priority values to use with the virtual devices.
int trừu tượng
getPriorityCount ()
 Priority values to use with the virtual devices.
Danh sách trừu tượng<Số nguyên>
getPriorityList ()
 Priority values to use with the virtual devices.

Phương pháp công khai

float trừu tượng công khai getMemoryLimitMb (chỉ mục int)

 Per "virtual" device memory limit, in MB. The number of elements in
 the list is the number of virtual devices to create on the
 corresponding visible GPU (see "virtual_devices" below).
 If empty, it will create single virtual device taking all available
 memory from the device.
 For the concept of "visible" and "virtual" GPU, see the comments for
 "visible_device_list" above for more information.
 
repeated float memory_limit_mb = 1;

tóm tắt công khai int getMemoryLimitMbCount ()

 Per "virtual" device memory limit, in MB. The number of elements in
 the list is the number of virtual devices to create on the
 corresponding visible GPU (see "virtual_devices" below).
 If empty, it will create single virtual device taking all available
 memory from the device.
 For the concept of "visible" and "virtual" GPU, see the comments for
 "visible_device_list" above for more information.
 
repeated float memory_limit_mb = 1;

Danh sách tóm tắt công khai<Float> getMemoryLimitMbList ()

 Per "virtual" device memory limit, in MB. The number of elements in
 the list is the number of virtual devices to create on the
 corresponding visible GPU (see "virtual_devices" below).
 If empty, it will create single virtual device taking all available
 memory from the device.
 For the concept of "visible" and "virtual" GPU, see the comments for
 "visible_device_list" above for more information.
 
repeated float memory_limit_mb = 1;

tóm tắt công khai int getPriority (int chỉ mục)

 Priority values to use with the virtual devices. Use the cuda function
 cudaDeviceGetStreamPriorityRange to query for valid range of values for
 priority.
 On a P4000 GPU with cuda 10.1, the priority range reported was 0 for
 least priority and -1 for greatest priority.
 If this field is not specified, then the virtual devices will be
 created with the default. If this field has values set, then the size
 of this must match with the above memory_limit_mb.
 
repeated int32 priority = 2;

tóm tắt công khai int getPriorityCount ()

 Priority values to use with the virtual devices. Use the cuda function
 cudaDeviceGetStreamPriorityRange to query for valid range of values for
 priority.
 On a P4000 GPU with cuda 10.1, the priority range reported was 0 for
 least priority and -1 for greatest priority.
 If this field is not specified, then the virtual devices will be
 created with the default. If this field has values set, then the size
 of this must match with the above memory_limit_mb.
 
repeated int32 priority = 2;

Danh sách tóm tắt công khai<Integer> getPriorityList ()

 Priority values to use with the virtual devices. Use the cuda function
 cudaDeviceGetStreamPriorityRange to query for valid range of values for
 priority.
 On a P4000 GPU with cuda 10.1, the priority range reported was 0 for
 least priority and -1 for greatest priority.
 If this field is not specified, then the virtual devices will be
 created with the default. If this field has values set, then the size
 of this must match with the above memory_limit_mb.
 
repeated int32 priority = 2;