jdoerfert wrote:

> The original `CreateLaunchBoundsAttr` function checks for the nvptx 
> architecture when `MaxBlocks != nullptr` and nullifies it if the targeting 
> architecture is older than sm_90

Why don't we do that then? Pass nullptr if sm < 90 and avoid the IgnoreArch 
flag. Am I missing something?

https://github.com/llvm/llvm-project/pull/195665
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to