Extend ExecutePM4() to accept completion signal and fences
ExecutePM4() function can optionally accept extra arguments for acquire fence scope, release fence scope andcompletion signal. When a completion signal is provided, ExecutePM4() does not wait for the commands to complete. Change-Id: Ib2a433b7bce1cb6260be8b76fe902335bd5dfada
Šī revīzija ir iekļauta:
@@ -152,7 +152,10 @@ class HostQueue : public Queue {
|
||||
return HSA_STATUS_ERROR_INVALID_QUEUE;
|
||||
}
|
||||
|
||||
void ExecutePM4(uint32_t* cmd_data, size_t cmd_size_b) override {
|
||||
void ExecutePM4(uint32_t* cmd_data, size_t cmd_size_b,
|
||||
hsa_fence_scope_t acquireFence = HSA_FENCE_SCOPE_NONE,
|
||||
hsa_fence_scope_t releaseFence = HSA_FENCE_SCOPE_NONE,
|
||||
hsa_signal_t* signal = NULL) override {
|
||||
assert(false && "HostQueue::ExecutePM4 is unimplemented");
|
||||
}
|
||||
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user