From 05547e25353dd797791c2937679468d529d832d5 Mon Sep 17 00:00:00 2001 From: venkataram-nv Date: Tue, 16 Jul 2024 14:54:53 -0700 Subject: Warnings function parameters (#4626) * Handle out/inout functions with separate consideration * Fixing bug with passing aliasable instructions * Handle autodiff functions (fwd and rev) in warning system * Handling interface methods * Handling ref parameters like out/inout * Temporary fix to remaining bugs * Refactoring methods and tests * Recursive check for empty structs * Using default initializable interface in tests * Resolving CI fail --- tests/cuda/cuda-array-layout.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cuda') diff --git a/tests/cuda/cuda-array-layout.slang b/tests/cuda/cuda-array-layout.slang index 60f318962..b99ab84c8 100644 --- a/tests/cuda/cuda-array-layout.slang +++ b/tests/cuda/cuda-array-layout.slang @@ -10,7 +10,7 @@ struct PadLadenStruct }; // This is to check if the last half can be inserted 'inside' the spare padding of a. It should not be -struct StructWithArray +struct StructWithArray : IDefaultInitializable { PadLadenStruct a[1]; uint8_t b; -- cgit v1.2.3