From 8c7772f64f1c8ccc9b436a321d84cc73ad577e5d Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Wed, 5 May 2021 08:37:02 +0300 Subject: [PATCH 1/8] [SYCL] Align test parameters with 21.16.19610 driver --- .../noinline_args_size/noinline_args_char_int_size_192.cpp | 2 +- .../noinline_args_size/noinline_args_char_int_size_256.cpp | 2 +- .../noinline_args_size/noinline_args_char_int_size_512.cpp | 2 +- .../ESIMD/noinline_args_size/noinline_args_char_int_size_64.cpp | 2 +- .../ESIMD/noinline_args_size/noinline_args_char_int_size_96.cpp | 2 +- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp | 2 +- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp | 2 +- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp | 2 +- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp | 2 +- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_192.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_192.cpp index c8f3929841..f57b70b8c4 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_192.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_192.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_256.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_256.cpp index bc560aa1c4..ec690b3349 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_256.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_256.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_512.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_512.cpp index 19c36cc808..d7ce061175 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_512.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_512.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_64.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_64.cpp index f6215de0e1..4d2cf6a61d 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_64.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_64.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_96.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_96.cpp index 3e4ec432cd..47ed72b55f 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_96.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_96.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp index ac3d394361..fd929aa446 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp index ee110be875..4daac15ccc 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp index b6a774f03a..11dd01e239 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp index 871063260b..f44f25684c 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp index a9002a1d7e..1e8efcd9fb 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp @@ -8,7 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out #include From 0585b37c9de48887396b7ca4c3a866b3dae9aec1 Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Wed, 5 May 2021 11:48:57 +0300 Subject: [PATCH 2/8] XFAIL tests regressed in GPU RT --- SYCL/ESIMD/private_memory/pm_access_1.cpp | 2 ++ SYCL/ESIMD/private_memory/pm_access_2.cpp | 2 ++ SYCL/ESIMD/private_memory/pm_access_3.cpp | 2 ++ SYCL/USM/badmalloc.cpp | 3 +++ 4 files changed, 9 insertions(+) diff --git a/SYCL/ESIMD/private_memory/pm_access_1.cpp b/SYCL/ESIMD/private_memory/pm_access_1.cpp index caf07d825d..de4fbcb554 100644 --- a/SYCL/ESIMD/private_memory/pm_access_1.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_1.cpp @@ -10,3 +10,5 @@ // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 1 +// Regression in GPU RT 21.16.19610 +// XFAIL: level_zero diff --git a/SYCL/ESIMD/private_memory/pm_access_2.cpp b/SYCL/ESIMD/private_memory/pm_access_2.cpp index 63c6359f3b..0b043ff81e 100644 --- a/SYCL/ESIMD/private_memory/pm_access_2.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_2.cpp @@ -10,3 +10,5 @@ // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 2 +// Regression in GPU RT 21.16.19610 +// XFAIL: level_zero diff --git a/SYCL/ESIMD/private_memory/pm_access_3.cpp b/SYCL/ESIMD/private_memory/pm_access_3.cpp index 628351bf14..c7479f074f 100644 --- a/SYCL/ESIMD/private_memory/pm_access_3.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_3.cpp @@ -10,3 +10,5 @@ // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 3 +// Regression in GPU RT 21.16.19610 +// XFAIL: level_zero diff --git a/SYCL/USM/badmalloc.cpp b/SYCL/USM/badmalloc.cpp index 95934477c1..4e6a5d8a09 100644 --- a/SYCL/USM/badmalloc.cpp +++ b/SYCL/USM/badmalloc.cpp @@ -16,6 +16,9 @@ // This test verifies that things fail in the proper way when they should. +// Regression in GPU RT 21.16.19610 +// XFAIL: level_zero && gpu + #include #include From 7cf58f1756954ffccd75326d2c6304f321115b3a Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Wed, 5 May 2021 11:51:55 +0300 Subject: [PATCH 3/8] XFAIL tests only on linux --- SYCL/ESIMD/private_memory/pm_access_1.cpp | 2 +- SYCL/ESIMD/private_memory/pm_access_2.cpp | 2 +- SYCL/ESIMD/private_memory/pm_access_3.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SYCL/ESIMD/private_memory/pm_access_1.cpp b/SYCL/ESIMD/private_memory/pm_access_1.cpp index de4fbcb554..aea104f43c 100644 --- a/SYCL/ESIMD/private_memory/pm_access_1.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_1.cpp @@ -11,4 +11,4 @@ // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 1 // Regression in GPU RT 21.16.19610 -// XFAIL: level_zero +// XFAIL: level_zero && linux diff --git a/SYCL/ESIMD/private_memory/pm_access_2.cpp b/SYCL/ESIMD/private_memory/pm_access_2.cpp index 0b043ff81e..6ad723ee82 100644 --- a/SYCL/ESIMD/private_memory/pm_access_2.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_2.cpp @@ -11,4 +11,4 @@ // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 2 // Regression in GPU RT 21.16.19610 -// XFAIL: level_zero +// XFAIL: level_zero && linux diff --git a/SYCL/ESIMD/private_memory/pm_access_3.cpp b/SYCL/ESIMD/private_memory/pm_access_3.cpp index c7479f074f..d8288edc1e 100644 --- a/SYCL/ESIMD/private_memory/pm_access_3.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_3.cpp @@ -11,4 +11,4 @@ // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 3 // Regression in GPU RT 21.16.19610 -// XFAIL: level_zero +// XFAIL: level_zero && linux From aed77ae4fb7fe859396642ad8a4ed6e6567242df Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Wed, 5 May 2021 19:19:44 +0300 Subject: [PATCH 4/8] Revert "XFAIL tests only on linux" This reverts commit 7cf58f1756954ffccd75326d2c6304f321115b3a. --- SYCL/ESIMD/private_memory/pm_access_1.cpp | 2 +- SYCL/ESIMD/private_memory/pm_access_2.cpp | 2 +- SYCL/ESIMD/private_memory/pm_access_3.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SYCL/ESIMD/private_memory/pm_access_1.cpp b/SYCL/ESIMD/private_memory/pm_access_1.cpp index aea104f43c..de4fbcb554 100644 --- a/SYCL/ESIMD/private_memory/pm_access_1.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_1.cpp @@ -11,4 +11,4 @@ // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 1 // Regression in GPU RT 21.16.19610 -// XFAIL: level_zero && linux +// XFAIL: level_zero diff --git a/SYCL/ESIMD/private_memory/pm_access_2.cpp b/SYCL/ESIMD/private_memory/pm_access_2.cpp index 6ad723ee82..0b043ff81e 100644 --- a/SYCL/ESIMD/private_memory/pm_access_2.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_2.cpp @@ -11,4 +11,4 @@ // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 2 // Regression in GPU RT 21.16.19610 -// XFAIL: level_zero && linux +// XFAIL: level_zero diff --git a/SYCL/ESIMD/private_memory/pm_access_3.cpp b/SYCL/ESIMD/private_memory/pm_access_3.cpp index d8288edc1e..c7479f074f 100644 --- a/SYCL/ESIMD/private_memory/pm_access_3.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_3.cpp @@ -11,4 +11,4 @@ // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 3 // Regression in GPU RT 21.16.19610 -// XFAIL: level_zero && linux +// XFAIL: level_zero From 16e1518351d005f989981f5f280762454040435e Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Wed, 5 May 2021 19:19:52 +0300 Subject: [PATCH 5/8] Revert "XFAIL tests regressed in GPU RT" This reverts commit 0585b37c9de48887396b7ca4c3a866b3dae9aec1. --- SYCL/ESIMD/private_memory/pm_access_1.cpp | 2 -- SYCL/ESIMD/private_memory/pm_access_2.cpp | 2 -- SYCL/ESIMD/private_memory/pm_access_3.cpp | 2 -- SYCL/USM/badmalloc.cpp | 3 --- 4 files changed, 9 deletions(-) diff --git a/SYCL/ESIMD/private_memory/pm_access_1.cpp b/SYCL/ESIMD/private_memory/pm_access_1.cpp index de4fbcb554..caf07d825d 100644 --- a/SYCL/ESIMD/private_memory/pm_access_1.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_1.cpp @@ -10,5 +10,3 @@ // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 1 -// Regression in GPU RT 21.16.19610 -// XFAIL: level_zero diff --git a/SYCL/ESIMD/private_memory/pm_access_2.cpp b/SYCL/ESIMD/private_memory/pm_access_2.cpp index 0b043ff81e..63c6359f3b 100644 --- a/SYCL/ESIMD/private_memory/pm_access_2.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_2.cpp @@ -10,5 +10,3 @@ // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 2 -// Regression in GPU RT 21.16.19610 -// XFAIL: level_zero diff --git a/SYCL/ESIMD/private_memory/pm_access_3.cpp b/SYCL/ESIMD/private_memory/pm_access_3.cpp index c7479f074f..628351bf14 100644 --- a/SYCL/ESIMD/private_memory/pm_access_3.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_3.cpp @@ -10,5 +10,3 @@ // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 3 -// Regression in GPU RT 21.16.19610 -// XFAIL: level_zero diff --git a/SYCL/USM/badmalloc.cpp b/SYCL/USM/badmalloc.cpp index 4e6a5d8a09..95934477c1 100644 --- a/SYCL/USM/badmalloc.cpp +++ b/SYCL/USM/badmalloc.cpp @@ -16,9 +16,6 @@ // This test verifies that things fail in the proper way when they should. -// Regression in GPU RT 21.16.19610 -// XFAIL: level_zero && gpu - #include #include From db3bef772da18a292db370ce3ede77699fb90813 Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Wed, 5 May 2021 19:23:00 +0300 Subject: [PATCH 6/8] XFAIL failing test --- SYCL/USM/badmalloc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SYCL/USM/badmalloc.cpp b/SYCL/USM/badmalloc.cpp index 95934477c1..a6d2892dcf 100644 --- a/SYCL/USM/badmalloc.cpp +++ b/SYCL/USM/badmalloc.cpp @@ -6,6 +6,9 @@ // RUN: %GPU_RUN_PLACEHOLDER %t1.out // RUN: %ACC_RUN_PLACEHOLDER %t1.out +// Regression in GPU RT 21.16.19610 +// XFAIL: level_zero && gpu + //==----------------- badmalloc.cpp - Bad Mallocs test ---------------------==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. From ac01a88341b05a1fac9929d1be624f63e8629c59 Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Thu, 6 May 2021 07:42:20 +0300 Subject: [PATCH 7/8] Apply review comments --- .../noinline_args_size/noinline_args_char_int_size_192.cpp | 5 ++++- .../noinline_args_size/noinline_args_char_int_size_256.cpp | 5 ++++- .../noinline_args_size/noinline_args_char_int_size_512.cpp | 5 ++++- .../noinline_args_size/noinline_args_char_int_size_64.cpp | 5 ++++- .../noinline_args_size/noinline_args_char_int_size_96.cpp | 5 ++++- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp | 5 ++++- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp | 5 ++++- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp | 5 ++++- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp | 5 ++++- SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp | 5 ++++- 10 files changed, 40 insertions(+), 10 deletions(-) diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_192.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_192.cpp index f57b70b8c4..0cfd6aed8d 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_192.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_192.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_256.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_256.cpp index ec690b3349..872b952800 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_256.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_256.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_512.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_512.cpp index d7ce061175..0a011f28ba 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_512.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_512.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_64.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_64.cpp index 4d2cf6a61d..9315a5f326 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_64.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_64.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_96.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_96.cpp index 47ed72b55f..0236102721 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_96.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_char_int_size_96.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp index fd929aa446..5561782b6a 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_192.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp index 4daac15ccc..1388148f8d 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_256.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp index 11dd01e239..6f8edd4a70 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_512.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp index f44f25684c..b96ffc7cba 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_64.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include diff --git a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp index 1e8efcd9fb..f294466b6a 100644 --- a/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp +++ b/SYCL/ESIMD/noinline_args_size/noinline_args_int_size_96.cpp @@ -8,7 +8,10 @@ // REQUIRES: gpu // UNSUPPORTED: cuda // RUN: %clangxx -fsycl -I%S/.. %s -o %t.out -// RUN: env IGC_FunctionControl=2 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out +// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %GPU_RUN_PLACEHOLDER %t.out + +// Regression in GPU RT 21.16.19610 +// XFAIL: linux #include From 976dcaf31930925b3e33ae6f845df527dd8be061 Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Thu, 6 May 2021 21:19:47 +0300 Subject: [PATCH 8/8] Disable test failing sporadically --- SYCL/ESIMD/private_memory/pm_access_1.cpp | 3 ++- SYCL/ESIMD/private_memory/pm_access_2.cpp | 3 ++- SYCL/ESIMD/private_memory/pm_access_3.cpp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/SYCL/ESIMD/private_memory/pm_access_1.cpp b/SYCL/ESIMD/private_memory/pm_access_1.cpp index caf07d825d..76a8d878de 100644 --- a/SYCL/ESIMD/private_memory/pm_access_1.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_1.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// // REQUIRES: gpu -// UNSUPPORTED: cuda +// Sporadic failure in GPU RT 21.16.19610 +// UNSUPPORTED: cuda || (level_zero && linux) // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 1 diff --git a/SYCL/ESIMD/private_memory/pm_access_2.cpp b/SYCL/ESIMD/private_memory/pm_access_2.cpp index 63c6359f3b..421f23a6e0 100644 --- a/SYCL/ESIMD/private_memory/pm_access_2.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_2.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// // REQUIRES: gpu -// UNSUPPORTED: cuda +// Sporadic failure in GPU RT 21.16.19610 +// UNSUPPORTED: cuda || (level_zero && linux) // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 2 diff --git a/SYCL/ESIMD/private_memory/pm_access_3.cpp b/SYCL/ESIMD/private_memory/pm_access_3.cpp index 628351bf14..0ac26cc3f9 100644 --- a/SYCL/ESIMD/private_memory/pm_access_3.cpp +++ b/SYCL/ESIMD/private_memory/pm_access_3.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// // REQUIRES: gpu -// UNSUPPORTED: cuda +// Sporadic failure in GPU RT 21.16.19610 +// UNSUPPORTED: cuda || (level_zero && linux) // RUN: %clangxx -fsycl -I%S/.. %S/Inputs/pm_common.cpp -o %t.out // RUN: %GPU_RUN_PLACEHOLDER %t.out 3