Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sycl/test-e2e/AOT/fpga-aoc-archive-split-per-kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

// REQUIRES: opencl-aot, accelerator

// XFAIL: *

// Remove any archives
// RUN: rm -f %t_*.a
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Assert/assert_in_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// UNSUPPORTED: hip
//
// FIXME: Remove XFAIL one intel/llvm#11364 is resolved
// XFAIL: (opencl && gpu)

// RUN: %{build} -DSYCL_FALLBACK_ASSERT=1 -o %t.out
// Shouldn't fail on ACC as fallback assert isn't enqueued there
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Assert/assert_in_multiple_tus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// UNSUPPORTED: cuda
//
// FIXME: Remove XFAIL one intel/llvm#11364 is resolved
// XFAIL: (opencl && gpu)

// RUN: %{build} -DSYCL_FALLBACK_ASSERT=1 -I %S/Inputs %S/Inputs/kernels_in_file2.cpp -o %t.out
// RUN: %{run} %t.out &> %t.txt ; FileCheck %s --input-file %t.txt %if fpga %{ --check-prefix=CHECK-ACC %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// UNSUPPORTED: cuda
//
// FIXME: Remove XFAIL one intel/llvm#11364 is resolved
// XFAIL: (opencl && gpu)

// RUN: %clangxx -DSYCL_FALLBACK_ASSERT=1 -fsycl -fsycl-targets=%{sycl_triple} -DDEFINE_NDEBUG_INFILE2 -I %S/Inputs %S/assert_in_multiple_tus.cpp %S/Inputs/kernels_in_file2.cpp -o %t.out
// Shouldn't fail on ACC as fallback assert isn't enqueued there
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Assert/assert_in_one_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// UNSUPPORTED: hip
//
// FIXME: Remove XFAIL one intel/llvm#11364 is resolved
// XFAIL: (opencl && gpu)

// RUN: %{build} -DSYCL_FALLBACK_ASSERT=1 -o %t.out
// Shouldn't fail on ACC as fallback assert isn't enqueued there
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Assert/assert_in_simultaneous_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// RUN: %{build} -DSYCL_FALLBACK_ASSERT=1 -o %t.out %threads_lib
//
// FIXME: Remove XFAIL one intel/llvm#11364 is resolved
// XFAIL: (opencl && gpu)
//
// Since this is a multi-threaded application enable memory tracking and
// deferred release feature in the Level Zero plugin to avoid releasing memory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// UNSUPPORTED: cuda || hip
//
// FIXME: Remove XFAIL one intel/llvm#11364 is resolved
// XFAIL: (opencl && gpu)
//
// https://github.com/intel/llvm/issues/12797
// UNSUPPORTED: windows
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// UNSUPPORTED: cuda, hip
//
// FIXME: Remove XFAIL one intel/llvm#11364 is resolved
// XFAIL: (opencl && gpu)
//
// https://github.com/intel/llvm/issues/12797
// UNSUPPORTED: windows
Expand Down
2 changes: 1 addition & 1 deletion sycl/test-e2e/Basic/aspects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// RUN: %{run-unfiltered-devices} %t.out
//
// Hip is missing some of the parameters tested here so it fails with NVIDIA
// XFAIL: hip_nvidia


//==--------------- aspects.cpp - SYCL device test ------------------------==//
//
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/buffer/reinterpret.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
//
// XFAIL: level_zero&&gpu

//==---------- reinterpret.cpp --- SYCL buffer reinterpret basic test ------==//
//
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/built-ins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// RUN: %{run} %t_var.out | FileCheck %s

// Hits an assertion with AMD:
// XFAIL: hip_amd

#include <sycl/detail/core.hpp>
#include <sycl/ext/oneapi/experimental/builtins.hpp>
Expand Down
24 changes: 12 additions & 12 deletions sycl/test-e2e/Basic/built-ins/helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ void test(bool CheckDevice, double delta, FuncTy F, ExpectedTy Expected,

if (!CheckDevice)
return;

sycl::buffer<bool, 1> SuccessBuf{1};

sycl::buffer<bool, 1> SuccessBuf{1};

// Make sure we don't use fp64 on devices that don't support it.
sycl::detail::get_elem_type_t<ExpectedTy> d(delta);

sycl::queue{}.submit([&](sycl::handler &cgh) {
sycl::accessor Success{SuccessBuf, cgh};
cgh.single_task([=]() {
auto R = F(Args...);
static_assert(std::is_same_v<decltype(Expected), decltype(R)>);
Success[0] = equal(R, Expected, d);
// Make sure we don't use fp64 on devices that don't support it.
sycl::detail::get_elem_type_t<ExpectedTy> d(delta);

sycl::queue{}.submit([&](sycl::handler &cgh) {
sycl::accessor Success{SuccessBuf, cgh};
cgh.single_task([=]() {
auto R = F(Args...);
static_assert(std::is_same_v<decltype(Expected), decltype(R)>);
Success[0] = equal(R, Expected, d);
});
});
});
assert(sycl::host_accessor{SuccessBuf}[0]);
}

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/built-ins/marray_geometric.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
// TODO: Remove XFAIL after fixing https://github.com/intel/llvm/issues/13397
// XFAIL: cpu

#include "helpers.hpp"

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/device_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//
// Returns error "Barrier is not supported on the host device
// yet." with Nvidia.
// XFAIL: hip_nvidia

//==--------device_event.cpp - SYCL class device_event test ----------------==//
//
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/diagnostics/handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//
// Appears to fail on HIP Nvidia because 'no device of requested type available'
// when constructing a queue with an exception_list.
// XFAIL: hip_nvidia
//==------------------- handler.cpp ----------------------------------------==//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// RUN: %{run} %t.out

// https://github.com/intel/llvm/issues/13887
// XFAIL: *
// If users need to use host pipe feature provided by experimental::pipe, all
// pipes in their design should use the experimental::pipe (as a workround).

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/kernel_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// UNSUPPORTED: level_zero
//
// Consistently fails with opencl gpu, enable when fixed.
// XFAIL: opencl && gpu

//==--- kernel_info.cpp - SYCL kernel info test ----------------------------==//
//
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/partition_supported.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// RUN: %{run} %t.out
//
// Nvidia should not allow sub_devices but does not throw corresponding error.
// XFAIL: hip_nvidia
/* Check that:
1) if partition_equally is supported, then we check that the correct
invalid errc is returned if more than max_compute_units are requested
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/queue/queue.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
//
// XFAIL: hip_nvidia
//==--------------- queue.cpp - SYCL queue test ----------------------------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/queue/release.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// RUN: %{build} -o %t.out
// RUN: env SYCL_PI_TRACE=2 %{run} %t.out | FileCheck %s
//
// XFAIL: hip_nvidia

#include <sycl/detail/core.hpp>
int main() {
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/span.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// RUN: %{run} %t.out
//
// Fails to release USM pointer on HIP for NVIDIA
// XFAIL: hip_nvidia
// REQUIRES: aspect-usm_shared_allocations
#include <numeric>

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/stream/auto_flush.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out %if !gpu || linux %{ | FileCheck %s %}
//
// XFAIL: hip_nvidia
//==-------------- copy.cpp - SYCL stream obect auto flushing test ---------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/Basic/work_group_size_prop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// RUN: %{run} %t.out
//
// Failing negative test with HIP. Temporarily disabled for CUDA.
// XFAIL: hip, cuda

#include <sycl/detail/core.hpp>

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/DeprecatedFeatures/queue_old_interop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//
// hip_nvidia has problems constructing queues due to `No device of requested
// type available`.
// XFAIL: hip_nvidia
//==-------- queue_old_interop.cpp - SYCL queue OpenCL interop test --------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/DeviceCodeSplit/split-per-kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// RUN: -fsycl-dead-args-optimization
// RUN: %{run} %t.out
//
// XFAIL: hip_nvidia

#include <sycl/detail/core.hpp>

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/DeviceCodeSplit/split-per-source-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// RUN: -fsycl-dead-args-optimization
// RUN: %{run} %t.out
//
// XFAIL: hip_nvidia

#include "Inputs/split-per-source.h"

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/DeviceLib/assert-windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// FIXME: OpenCL CPU backend compiler crashes on a call to _wassert.
// Disable the test until the fix reaches SYCL test infrastructure.
// XFAIL: *
//
// RUN: %{build} -o %t.out
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out
// XFAIL: *
// TODO Remove XFAIL once the simd vector provides move constructor
//
// Test for esimd move constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out
// XFAIL: *
// TODO Remove XFAIL once the simd vector provides move constructor
//
// Test for esimd move constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %{run} %t.out
// XFAIL: *
// TODO Remove XFAIL once the simd vector provides move assignment operator
//
// Test for simd move and copy assignment operators.
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/ESIMD/assert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// The test still fails after GPU driver update on Linux. Temporary marking it
// as expected to fail, whilst it is being investigated, see intel/llvm#11359
// FIXME: remove that XFAIL
// XFAIL: linux

#include "esimd_test_utils.hpp"

Expand Down
3 changes: 1 addition & 2 deletions sycl/test-e2e/ESIMD/hardware_dispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_bdw %s -Xs "-options -vc-codegen" -o %t.out
// RUN: %t.out
// TODO: remove XFAIL when the fix in GPU RT for Windows is updated on CI
// machines
// XFAIL: windows
// machines. See https://github.com/intel/llvm/issues/14336
// This is basic test to test hardware dispatch functionality with ESIMD.

#include <iostream>
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/External/RSBench/acc.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
REQUIRES: accelerator
RUN: env SYCL_PI_TRACE=1 %{run} %T/rsbench -s large -l 34 -p 300000 -P 1000 -W 100 -m event
XFAIL: *
1 change: 0 additions & 1 deletion sycl/test-e2e/External/RSBench/cpu.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
REQUIRES: cpu
RUN: env SYCL_PI_TRACE=1 %{run} %T/rsbench -s large -l 34 -p 300000 -P 1000 -W 100 -m event
XFAIL: *
1 change: 0 additions & 1 deletion sycl/test-e2e/External/RSBench/gpu.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
REQUIRES: gpu
RUN: env SYCL_PI_TRACE=1 %{run} %T/rsbench -s large -l 34 -p 300000 -P 1000 -W 100 -m event
XFAIL: *
1 change: 0 additions & 1 deletion sycl/test-e2e/Graph/Explicit/work_group_size_prop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
// should. So the Sycl graph support cannot correctly catch the error and throw
// the approriate exception for negative test. An issue has been reported
// https://github.com/bashbaug/SimpleOpenCLSamples/issues/95
// XFAIL: cuda, hip
// UNSUPPORTED: opencl
// Note: failing negative test with HIP in the original test

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
// should. So the Sycl graph support cannot correctly catch the error and throw
// the approriate exception for negative test. An issue has been reported
// https://github.com/bashbaug/SimpleOpenCLSamples/issues/95
// XFAIL: cuda, hip
// UNSUPPORTED: opencl
// Note: failing negative test with HIP in the original test

Expand Down
2 changes: 0 additions & 2 deletions sycl/test-e2e/GroupAlgorithm/root_group.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Fails with opencl non-cpu, enable when fixed.
// XFAIL: (opencl && !cpu && !accelerator)
// RUN: %{build} -I . -o %t.out
// RUN: %{run} %t.out

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/GroupLocalMemory/group_local_memory.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
//
// XFAIL: hip_nvidia

#include <sycl/detail/core.hpp>

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/GroupLocalMemory/no_early_opt.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// RUN: %{build} -fno-sycl-early-optimizations -o %t.out
// RUN: %{run} %t.out
//
// XFAIL: hip_nvidia

// The test checks that multiple calls to the same template instantiation of a
// group local memory function result in separate allocations, even with device
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/InlineAsm/asm_multiple_instructions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// RUN: %{run} %t.out
// The test is failing when writing directly to output buffer.
// If temporary variable is used (see TO_PASS mode) the test succeeded.
// XFAIL: gpu
#include "include/asmhelper.h"
#include <iostream>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// TODO: Passing/returning structures via invoke_simd() API is not implemented
// in GPU driver yet. Enable the test when GPU RT supports it.
// XFAIL: gpu
//
// RUN: %{build} -DIMPL_SUBGROUP -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr -o %t.out
// RUN: env IGC_VCSaveStackCallLinkage=1 IGC_VCDirectCallsOnly=1 %{run} %t.out
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/InvokeSimd/Feature/invoke_simd_struct.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// TODO: Passing/returning structures via invoke_simd() API is not implemented
// in GPU driver yet. Enable the test when GPU RT supports it.
// XFAIL: gpu
//
// RUN: %{build} -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr -o %t.out
// RUN: env IGC_VCSaveStackCallLinkage=1 IGC_VCDirectCallsOnly=1 %{run} %t.out
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/InvokeSimd/Spec/ImplicitSubgroup/tuple.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TODO: enable when Jira ticket resolved
// XFAIL: gpu
//
// Check that full compilation works:
// RUN: %clangxx -DIMPL_SUBGROUP -fsycl -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr %S/../tuple.cpp -o %t.out
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TODO: enable when Jira ticket resolved
// XFAIL: gpu
//
// Check that full compilation works:
// RUN: %clangxx -DIMPL_SUBGROUP -fsycl -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr %S/../tuple_return.cpp -o %t.out
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TODO: enable when Jira ticket resolved
// XFAIL: gpu
//
// Check that full compilation works:
// RUN: %clangxx -DIMPL_SUBGROUP -fsycl -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr %S/../tuple_vadd.cpp -o %t.out
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// (http://eel.is/c++draft/basic.types.general#def:type,scalar)
// TODO FIXME: Compile must fail with meaningful error message, but currently it
// compiles with no error
// XFAIL: gpu
/*
* Test case specification: Test and report errors if accessor argument is
* passed to invoked ESIMD function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
// TODO FIXME: Currently compile fail with "no or multiple invoke_simd targets
// found"
// XFAIL: gpu
/*
* Test case specification: Test and report errors if reference argument is
* passed to invoked ESIMD function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// UNSUPPORTED: gpu-intel-pvc
//
// TODO: enable when Jira ticket resolved
// XFAIL: gpu
//
// Check that full compilation works:
// RUN: %{build} -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr -o %t.out
Expand Down
Loading