Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Marked remaining hip_nvidia failing tests XFAIL #525

Merged
merged 1 commit into from
Oct 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions SYCL/Basic/diagnostics/handler.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %BE_RUN_PLACEHOLDER %t.out | FileCheck %s
//
// 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
1 change: 1 addition & 0 deletions SYCL/Basic/memory-consumption.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
//
// XFAIL: hip_nvidia
// Issue #106: The test failing sporadically on OpenCL platform due to
// processing OCL_ICD_FILENAMES debug environment variable which causes
// extra memory allocation on device creation.
Expand Down
4 changes: 3 additions & 1 deletion SYCL/Basic/partition_supported.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

//
// Nvidia should not allow sub_devices but does not throw corresponding error.
// XFAIL: hip_nvidia
/* Check that:
1) [info::device::partition_properties]: returns the partition properties
supported by this SYCL device; a vector of info::partition_property. If this
Expand Down
2 changes: 2 additions & 0 deletions SYCL/Basic/queue/queue.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %BE_RUN_PLACEHOLDER %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
2 changes: 2 additions & 0 deletions SYCL/Basic/queue/release.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER
//
// XFAIL: hip_nvidia

#include <CL/sycl.hpp>
int main() {
Expand Down
2 changes: 2 additions & 0 deletions SYCL/Basic/stream/auto_flush.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
// RUN: %GPU_RUN_ON_LINUX_PLACEHOLDER %t.out %GPU_CHECK_ON_LINUX_PLACEHOLDER
// RUN: %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER
//
// 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
2 changes: 2 additions & 0 deletions SYCL/DeprecatedFeatures/kernel_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
//
// Fail is flaky for level_zero, enable when fixed.
// UNSUPPORTED: level_zero
//
// XFAIL: hip_nvidia

//==--- kernel_info.cpp - SYCL kernel info test ----------------------------==//
//
Expand Down
4 changes: 4 additions & 0 deletions SYCL/DeprecatedFeatures/queue_old_interop.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -D__SYCL_INTERNAL_API %s -o %t.out
// RUN: %BE_RUN_PLACEHOLDER %t.out
//
// 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
2 changes: 2 additions & 0 deletions SYCL/DeviceCodeSplit/split-per-kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
//
// XFAIL: hip_nvidia

#include <CL/sycl.hpp>

Expand Down
2 changes: 2 additions & 0 deletions SYCL/DeviceCodeSplit/split-per-source-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
//
// XFAIL: hip_nvidia

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

Expand Down
2 changes: 2 additions & 0 deletions SYCL/GroupLocalMemory/group_local_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
//
// XFAIL: hip_nvidia

#include <CL/sycl.hpp>

Expand Down
2 changes: 2 additions & 0 deletions SYCL/GroupLocalMemory/no_early_opt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %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
2 changes: 2 additions & 0 deletions SYCL/InorderQueue/in_order_property_trace.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
//
// XFAIL: hip_nvidia
// SYCL in order and default queue property trace test
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Expand Down
3 changes: 3 additions & 0 deletions SYCL/Reduction/reduction_reducer_op_eq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
//
// On nvidia a reduction appears to be unexpectedly executed via the host.
// XFAIL: hip_nvidia

// This test checks that operators ++, +=, *=, |=, &=, ^= are supported
// whent the corresponding std::plus<>, std::multiplies, etc are defined.
Expand Down
2 changes: 2 additions & 0 deletions SYCL/Regression/context_is_destroyed_after_exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// RUN: %clangxx -fsycl %s -o %t.out
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
//
// XFAIL: hip_nvidia

#include <CL/sycl.hpp>

Expand Down
2 changes: 2 additions & 0 deletions SYCL/Scheduler/InOrderQueueDeps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER
//
// XFAIL: hip_nvidia

// The tested functionality is disabled with Level Zero until it is supported by
// the plugin.
Expand Down
2 changes: 2 additions & 0 deletions SYCL/Scheduler/MemObjRemapping.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: env SYCL_HOST_UNIFIED_MEMORY=1 SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_HOST_UNIFIED_MEMORY=1 SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
//
// XFAIL: hip_nvidia
#include <CL/sycl.hpp>
#include <cassert>
#include <cstddef>
Expand Down
2 changes: 2 additions & 0 deletions SYCL/Scheduler/MultipleDevices.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out
//
// XFAIL: hip_nvidia

//===- MultipleDevices.cpp - Test checking multi-device execution --------===//
//
Expand Down
2 changes: 2 additions & 0 deletions SYCL/Scheduler/ReleaseResourcesTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER
//
// XFAIL: hip_nvidia

//==------------------- ReleaseResourcesTests.cpp --------------------------==//
//
Expand Down
2 changes: 2 additions & 0 deletions SYCL/Tracing/buffer_printers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER
//
// XFAIL: hip_nvidia

#include <CL/sycl.hpp>
#include <vector>
Expand Down
2 changes: 2 additions & 0 deletions SYCL/Tracing/pi_tracing_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: env SYCL_PI_TRACE=-1 %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=-1 %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
// RUN: env SYCL_PI_TRACE=-1 %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER
//
// XFAIL: hip_nvidia

// Test tracing of the Plugin Interface

Expand Down