|
XenevaOS
|
#include <ethosu_accel.h>
Public Attributes | |
| __u32 | cmd_bo |
| __u32 | sram_size |
| __u32 | region_bo_handles [ETHOSU_MAX_REGIONS] |
struct drm_ethosu_job - A job to be run on the NPU
The kernel will schedule the execution of this job taking into account its dependencies with other jobs. All tasks in the same job will be executed sequentially on the same core, to benefit from memory residency in SRAM.
| __u32 drm_ethosu_job::cmd_bo |
Input: BO handle for cmdstream.
| __u32 drm_ethosu_job::region_bo_handles[ETHOSU_MAX_REGIONS] |
Input: Array of BO handles for each region.
| __u32 drm_ethosu_job::sram_size |
Input: Amount of SRAM to use.