Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data GpuDeviceMemoryInfo Source #
Describes the memory available to the GPU accelerator.
See: newGpuDeviceMemoryInfo
smart constructor.
Instances
newGpuDeviceMemoryInfo :: GpuDeviceMemoryInfo Source #
Create a value of GpuDeviceMemoryInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sizeInMiB:GpuDeviceMemoryInfo'
, gpuDeviceMemoryInfo_sizeInMiB
- The size of the memory available to the GPU accelerator, in MiB.
gpuDeviceMemoryInfo_sizeInMiB :: Lens' GpuDeviceMemoryInfo (Maybe Int) Source #
The size of the memory available to the GPU accelerator, in MiB.