Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion src/runtime_src/core/common/query_requests.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ enum class key_type
noop,

xocl_errors_ex,
xocl_ex_error_code2string
xocl_ex_error_code2string,
frame_boundary_preemption
};

struct pcie_vendor : request
Expand Down Expand Up @@ -3983,6 +3984,25 @@ struct preemption : request

};

/*
* this request force enables or disables frame boundary pre-emption globally
* 1: enable; 0: disable
*/
struct frame_boundary_preemption : request
{
using result_type = uint32_t; // get value type
using value_type = uint32_t; // put value type

static const key_type key = key_type::frame_boundary_preemption;

std::any
get(const device*) const override = 0;

void
put(const device*, const std::any&) const override = 0;

};

struct debug_ip_layout_path : request
{
// Get debug ip layout path
Expand Down
Loading