|
XenevaOS
|
#include <rocket_accel.h>
Public Attributes | |
| __u64 | tasks |
| __u64 | in_bo_handles |
| __u64 | out_bo_handles |
| __u32 | task_count |
| __u32 | task_struct_size |
| __u32 | in_bo_handle_count |
| __u32 | out_bo_handle_count |
struct drm_rocket_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_rocket_job::in_bo_handle_count |
@in_bo_handle_count: Input: Number of input BO handles passed in (size is that times 4).
| __u64 drm_rocket_job::in_bo_handles |
@in_bo_handles: Input: Pointer to a u32 array of the BOs that are read by the job.
| __u32 drm_rocket_job::out_bo_handle_count |
@out_bo_handle_count: Input: Number of output BO handles passed in (size is that times 4).
| __u64 drm_rocket_job::out_bo_handles |
@out_bo_handles: Input: Pointer to a u32 array of the BOs that are written to by the job.
| __u32 drm_rocket_job::task_count |
@task_count: Input: Number of tasks passed in.
| __u32 drm_rocket_job::task_struct_size |
@task_struct_size: Input: Size in bytes of the structs in the @tasks field.
| __u64 drm_rocket_job::tasks |
@tasks: Input: Pointer to an array of struct drm_rocket_task.