Generate .amdhsa_reserve_xnack_mask 0 in all assembly kernels.
This will prevent rolling back changes from https://github.com/ROCmSoftwarePlatform/MIOpen/pull/505 when regenerating kernels.
/cc @daniellowell @shurale-nkn
Hmm... Perhaps this is not really required, see https://github.com/ROCmSoftwarePlatform/MIOpen/pull/505/files#r502967373
Hi @atamazov it seems @shurale-nkn added that .amdhsa_reserve_xnack_mask in every asm kernel source code in MIOpen, however it still seems the xnack default value is target-dependent.
Maybe I can add this directive while generate the kernels, but will generate different value of .amdhsa_reserve_xnack_mask based on target features. what do you think?
Ah, -mno-xnack compiler flag is still needed
Most likely, this .amdhsa_reserve_xnack_mask 0 is not required in the generated kernels. The recent target-id related changes in the assembler looks weird. Let's see.
OK