XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_rocket_job Struct Reference

#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
 

Detailed Description

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.

Member Data Documentation

◆ in_bo_handle_count

__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).

◆ in_bo_handles

__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.

◆ out_bo_handle_count

__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).

◆ out_bo_handles

__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.

◆ task_count

__u32 drm_rocket_job::task_count

@task_count: Input: Number of tasks passed in.

◆ task_struct_size

__u32 drm_rocket_job::task_struct_size

@task_struct_size: Input: Size in bytes of the structs in the @tasks field.

◆ tasks

__u64 drm_rocket_job::tasks

@tasks: Input: Pointer to an array of struct drm_rocket_task.


The documentation for this struct was generated from the following file: