Struct QnnHtpGraph_VtcmConfig_t

Struct Documentation

struct QnnHtpGraph_VtcmConfig_t

This struct encapsulates all the VTCM configurations for parallel graph execution.

|<--           (1) 8MB Total Hardware VTCM           -->|
       |<--            (2) 7MB Addressable           -->|
+------+------+------+------+------+------+------+------+
|  CV  |      |      |      |      |      |      |      |
+------+------+------+------+------+------+------+------+
       |<-- (4) Graph A  -->|<--     (4) Graph B     -->|

     A |> 0 MB      (3) Graph Offset
     B |-------------------> 3 MB

Public Members

uint32_t sizeInBytes

(4) above, the amount of VTCM used by a graph

uint32_t offsetInBytes

(3) above, where in the addressable region to start VTCM. Note: (3) + (4) <= (2)

uint32_t sizeTotalInBytes

(2) Addressable portion of VTCM. Set to less than hardware size so Graph(s) can coexist with other VTCM clients.

uint32_t reserved[3]