Fix Aql Header initialization
Change-Id: If23c12b28d22fb62b673038890f40bb0f3c3948b
This commit is contained in:
@@ -375,8 +375,11 @@ hsa_status_t InitializeAQLPacket(const BaseRocR* test,
|
||||
if (aql == nullptr) {
|
||||
return HSA_STATUS_ERROR;
|
||||
}
|
||||
|
||||
aql->header = 0; // Set this right before doorbell ring
|
||||
|
||||
// Initialize Packet type as Invalid
|
||||
// Update packet type to Kernel Dispatch
|
||||
// right before ringing doorbell
|
||||
aql->header = 1;
|
||||
|
||||
aql->setup = 1;
|
||||
aql->workgroup_size_x = 256;
|
||||
|
||||
Reference in New Issue
Block a user