[llvm] [NVPTX] Add support for maxclusterrank in launch_bounds (PR #66496)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 09:29:16 PDT 2023


================
@@ -12,7 +12,7 @@ __launch_bounds__(0x10000000000000000) void TestWayTooBigArg(void); // expected-
 __launch_bounds__(-128, 7) void TestNegArg1(void); // expected-warning {{'launch_bounds' attribute parameter 0 is negative and will be ignored}}
 __launch_bounds__(128, -7) void TestNegArg2(void); // expected-warning {{'launch_bounds' attribute parameter 1 is negative and will be ignored}}
----------------
Artem-B wrote:

We need a test for negative max blocks argument.

https://github.com/llvm/llvm-project/pull/66496


More information about the llvm-commits mailing list