From 258eec38de15dc0db9ea319b5ea550d1eaede9d9 Mon Sep 17 00:00:00 2001 From: Soumi Manna Date: Mon, 5 Apr 2021 11:16:18 -0700 Subject: [PATCH 1/3] [SYCL] Update tests with -fno-sycl-id-queries-fit-in-int option The changes are due to the PR: https://github.com/intel/llvm/pull/3427 Signed-off-by: Soumi Manna --- SYCL/SubGroup/sub_group_as.cpp | 2 +- SYCL/SubGroup/sub_group_as_vec.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SYCL/SubGroup/sub_group_as.cpp b/SYCL/SubGroup/sub_group_as.cpp index 0fce33ba48..6f8824f801 100644 --- a/SYCL/SubGroup/sub_group_as.cpp +++ b/SYCL/SubGroup/sub_group_as.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fno-sycl-id-queries-fit-in-int %s -o %t.out // Sub-groups are not suported on Host // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/SubGroup/sub_group_as_vec.cpp b/SYCL/SubGroup/sub_group_as_vec.cpp index b37af3363f..795e4d5a05 100644 --- a/SYCL/SubGroup/sub_group_as_vec.cpp +++ b/SYCL/SubGroup/sub_group_as_vec.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fno-sycl-id-queries-fit-in-int %s -o %t.out // Sub-groups are not suported on Host // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out From 0ec874c97040939bb998fc5cdf8b199669b809b4 Mon Sep 17 00:00:00 2001 From: Soumi Manna Date: Mon, 5 Apr 2021 11:35:59 -0700 Subject: [PATCH 2/3] Revert "[SYCL] Update tests with -fno-sycl-id-queries-fit-in-int option" This reverts commit 258eec38de15dc0db9ea319b5ea550d1eaede9d9. --- SYCL/SubGroup/sub_group_as.cpp | 2 +- SYCL/SubGroup/sub_group_as_vec.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SYCL/SubGroup/sub_group_as.cpp b/SYCL/SubGroup/sub_group_as.cpp index 6f8824f801..0fce33ba48 100644 --- a/SYCL/SubGroup/sub_group_as.cpp +++ b/SYCL/SubGroup/sub_group_as.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fno-sycl-id-queries-fit-in-int %s -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // Sub-groups are not suported on Host // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/SubGroup/sub_group_as_vec.cpp b/SYCL/SubGroup/sub_group_as_vec.cpp index 795e4d5a05..b37af3363f 100644 --- a/SYCL/SubGroup/sub_group_as_vec.cpp +++ b/SYCL/SubGroup/sub_group_as_vec.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fno-sycl-id-queries-fit-in-int %s -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // Sub-groups are not suported on Host // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out From 99281c5b1208733e3a9a8063f87ab783ec168b83 Mon Sep 17 00:00:00 2001 From: Soumi Manna Date: Mon, 5 Apr 2021 12:36:49 -0700 Subject: [PATCH 3/3] [SYCL] Update tests with -fno-sycl-id-queries-fit-in-int option The changes are due to the PR: intel/llvm#3427 Signed-off-by: Soumi Manna --- SYCL/SubGroup/sub_group_as.cpp | 2 +- SYCL/SubGroup/sub_group_as_vec.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SYCL/SubGroup/sub_group_as.cpp b/SYCL/SubGroup/sub_group_as.cpp index 0fce33ba48..6f8824f801 100644 --- a/SYCL/SubGroup/sub_group_as.cpp +++ b/SYCL/SubGroup/sub_group_as.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fno-sycl-id-queries-fit-in-int %s -o %t.out // Sub-groups are not suported on Host // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out diff --git a/SYCL/SubGroup/sub_group_as_vec.cpp b/SYCL/SubGroup/sub_group_as_vec.cpp index b37af3363f..795e4d5a05 100644 --- a/SYCL/SubGroup/sub_group_as_vec.cpp +++ b/SYCL/SubGroup/sub_group_as_vec.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fno-sycl-id-queries-fit-in-int %s -o %t.out // Sub-groups are not suported on Host // RUN: %GPU_RUN_PLACEHOLDER %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out