a3c4aaf95a
The error checking macro IS_OPEN returns an hsa_signal_t. This conflicts with the return type of uint32_t. Add an assert and rely on spurious return rule to return zero when rocr is not initialized. Change-Id: Ifc9bb75e22ecdd675273de59b31e5026a69c62e0