getBuildInfo
Class: dlhdl.Workflow
Namespace: dlhdl
Description
returns a structure containing the bitstream resource utilization.area
= getBuildInfo(workflowObject
)
Input Arguments
Deep learning network deployment options, specified as a
dlhdl.Workflow
object.
Output Arguments
Bitstream resource utilization returned as a structure.
The
Block Memory Bits
utilization is available for Intel® bitstreams only.The resource utilization results of Intel bitstreams show the
Block RAM
utilization as 100%. To analyze bitstream resource utilization, refer to theBlock Memory Bits
utilization instead.
Examples
Create a file in your current working folder called
getLogoNetwork.m
. In the file, enter:function net = getLogoNetwork if ~isfile('LogoNet.mat') url = 'https://www.mathworks.com/supportfiles/gpucoder/cnn_models/logo_detection/LogoNet.mat'; websave('LogoNet.mat',url); end data = load('LogoNet.mat'); net = data.convnet; end
Create a
dlhdl.Workflow
object that hasLogoNet
as theNetwork
argument andarria10soc_single
as theBitstream
argument.snet = getLogoNetwork; hW = dlhdl.Workflow('Network',snet,'Bitstream','arria10soc_single');
Call
getBuildInfo
argument to retrieve thearria10soc_single
resource utilization. Store the resource utilization inarea
.area = hW.getBuildInfo
Deep Learning Processor Bitstream Build Info Resource Utilized Total Percentage ------------------ ---------- ------------ ------------ LUTs (CLB/ALM)* 93578 251680 37.18 DSPs 278 1687 16.48 Block RAM 2131 2131 100.00 Block Memory Bits 23211920 43642880 53.19 * LUT count represents Configurable Logic Block(CLB) utilization in Xilinx devices and Adaptive Logic Module (ALM) utilization in Intel devices. area = struct with fields: LUT: [93578 251680] BlockMemoryBits: [23211920 43642880] BlockRAM: [2131 2131] DSP: [278 1687]
Version History
Introduced in R2021a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)