3959b5be1e
This patch fixes this potential issue that filling AQL header before filling the AQL body. The hsa spec specifies "Packet processors may process AQL packets after the packet format field is updated, but before the doorbell is signaled." However, the hipGraph AQL package with valid header will be filled before fill the body, which may have the potential issue that CP receive invalid AQL body. Change-Id: I84af798c19ee2b8805ba19732b0eabdea2958a96