zephyr/drivers/neural_net/Kconfig.intel_gna
Ulf Magnusson bd6e04411e kconfig: Clean up header comments and make them consistent
Use this short header style in all Kconfig files:

    # <description>

    # <copyright>
    # <license>

    ...

Also change all <description>s from

    # Kconfig[.extension] - Foo-related options

to just

    # Foo-related options

It's clear enough that it's about Kconfig.

The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)

    git ls-files '*Kconfig*' | \
        xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-04 17:31:27 -05:00

50 lines
1.2 KiB
Plaintext

# Neural network accelerator driver configuration options
# Copyright (c) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig INTEL_GNA
bool "Intel GNA Inferencing Engine"
help
Enable support for Intel's GMM and Neural Network Accelerator
if INTEL_GNA
config INTEL_GNA_NAME
string "GNA device name"
default "GNA0"
help
Name of the GNA device this device driver can use.
config INTEL_GNA_INIT_PRIORITY
int "Init priority"
default 99
help
Device driver initialization priority.
config INTEL_GNA_MAX_MODELS
int "Max number of neural network models supported by driver"
default 4
help
Max. number of unique neural network models required in the system
config INTEL_GNA_MAX_PENDING_REQUESTS
int "Max number of pending inference requests"
default 4
help
Maximum number of pending inference requests in the driver
config INTEL_GNA_POWER_MODE
int "GNA operation mode"
default 0
range 0 3
help
Sets GNA operation mode for power saving
Levels are:
0 ALWAYS_ON, GNA is always on with very minimal power save
1 CLOCK_GATED, GNA clock is gated when not active
2 POWER_GATED, GNA clock and power are gated when not active
3 ALWAYS_OFF, GNA is tuned off and never used in the system
endif # INTEL_GNA