Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GpuDevice |
build() |
GpuDevice.Builder |
copy(GpuDevice model) |
GpuDevice.Builder |
coresCount(Integer coresCount)
Number of GPU cores.
|
GpuDevice.Builder |
description(String description)
GPU device description.
|
GpuDevice.Builder |
manufacturer(String manufacturer)
The manufacturer of GPU.
|
GpuDevice.Builder |
memoryInMBs(Long memoryInMBs)
GPU memory size in MBs.
|
GpuDevice.Builder |
name(String name)
GPU device name.
|
public GpuDevice.Builder name(String name)
GPU device name.
name
- the value to setpublic GpuDevice.Builder description(String description)
GPU device description.
description
- the value to setpublic GpuDevice.Builder coresCount(Integer coresCount)
Number of GPU cores.
coresCount
- the value to setpublic GpuDevice.Builder memoryInMBs(Long memoryInMBs)
GPU memory size in MBs.
memoryInMBs
- the value to setpublic GpuDevice.Builder manufacturer(String manufacturer)
The manufacturer of GPU.
manufacturer
- the value to setpublic GpuDevice build()
public GpuDevice.Builder copy(GpuDevice model)
Copyright © 2016–2024. All rights reserved.