PerformanceConfig.gpu constructor
const
PerformanceConfig.gpu({
- int? numThreads,
Creates a GPU-accelerated config: Metal on iOS and macOS, XNNPACK on Android. See PerformanceMode.gpu.
Implementation
const PerformanceConfig.gpu({this.numThreads}) : mode = PerformanceMode.gpu;