Property MainGpu
MainGpu
Gets or sets the device number of the main GPU used for scratch operations and handling small tensors.
public int MainGpu { get; set; }
Property Value
- int
An integer representing the GPU device number. By default, the system automatically selects the most suitable GPU based on available memory and performance.