From bef8f3f2d38475facbdac10575eb8999790d2b89 Mon Sep 17 00:00:00 2001 From: Kanaev Date: Wed, 14 Jul 2021 09:58:35 +0300 Subject: [PATCH 1/2] [SYCL] Disable fallback assert in kernel bundle merge options test Signed-off-by: Kanaev --- SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp b/SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp index 52808b8b7a..b241381807 100644 --- a/SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp +++ b/SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp @@ -1,4 +1,5 @@ -// RUN: %clangxx -fsycl %s -o %t.out %debug_option +// Fisable fallback assert here so, that build process isn't affected +// RUN: %clangxx -DSYCL_DISABLE_FALLBACK_ASSERT=1 -fsycl %s -o %t.out %debug_option // RUN: %GPU_RUN_PLACEHOLDER SYCL_PI_TRACE=-1 SYCL_PROGRAM_COMPILE_OPTIONS=-DENV_COMPILE_OPTS SYCL_PROGRAM_LINK_OPTIONS=-DENV_LINK_OPTS %t.out %GPU_CHECK_PLACEHOLDER // REQUIRES: gpu // UNSUPPORTED: cuda From 4922ed3d9011ec7e0e00f853aa0d79b57fdf470c Mon Sep 17 00:00:00 2001 From: sergei Date: Wed, 14 Jul 2021 14:52:16 +0300 Subject: [PATCH 2/2] Update SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp Co-authored-by: vladimirlaz --- SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp b/SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp index b241381807..e3b6d8b6f4 100644 --- a/SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp +++ b/SYCL/KernelAndProgram/kernel-bundle-merge-options-env.cpp @@ -1,4 +1,4 @@ -// Fisable fallback assert here so, that build process isn't affected +// Disable fallback assert here so, that build process isn't affected // RUN: %clangxx -DSYCL_DISABLE_FALLBACK_ASSERT=1 -fsycl %s -o %t.out %debug_option // RUN: %GPU_RUN_PLACEHOLDER SYCL_PI_TRACE=-1 SYCL_PROGRAM_COMPILE_OPTIONS=-DENV_COMPILE_OPTS SYCL_PROGRAM_LINK_OPTIONS=-DENV_LINK_OPTS %t.out %GPU_CHECK_PLACEHOLDER // REQUIRES: gpu