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

Fix wrong uses of accelerator LIT feature. #969

Merged
merged 1 commit into from
Apr 4, 2022
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
6 changes: 3 additions & 3 deletions SYCL/AtomicRef/add_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// Barrier is not supported on host. HIP and ACC do not support floating
// point atomics.
// XFAIL: host, hip, acc
// Barrier is not supported on host. HIP does not support floating point
// atomics.
// XFAIL: host, hip

#include "add.h"

Expand Down
6 changes: 3 additions & 3 deletions SYCL/AtomicRef/max_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// Barrier is not supported on host. HIP and ACC do not support floating
// point atomics.
// XFAIL: host, hip, acc
// Barrier is not supported on host. HIP does not support floating point
// atomics.
// XFAIL: host, hip

#include "max.h"

Expand Down
6 changes: 3 additions & 3 deletions SYCL/AtomicRef/min_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// Barrier is not supported on host. HIP and ACC do not support floating
// point atomics.
// XFAIL: host, hip, acc
// Barrier is not supported on host. HIP does not support floating point
// atomics.
// XFAIL: host, hip

#include "min.h"

Expand Down
6 changes: 3 additions & 3 deletions SYCL/AtomicRef/sub_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out

// Barrier is not supported on host. HIP and ACC do not support floating
// point atomics.
// XFAIL: host, hip, acc
// Barrier is not supported on host. HIP does not support floating point
// atomics.
// XFAIL: host, hip

#include "sub.h"

Expand Down
2 changes: 1 addition & 1 deletion SYCL/Basic/half_builtins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Intel OpenCL CPU and FPGA emulator drivers do not support cl_khr_fp16
// extension
// UNSUPPORTED: (cpu || acc) && opencl
// UNSUPPORTED: (cpu || accelerator) && opencl

#include <sycl/sycl.hpp>

Expand Down
2 changes: 1 addition & 1 deletion SYCL/XPTI/buffer/multiple_queues.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// REQUIRES: xptifw, opencl, (cpu || acc)
// REQUIRES: xptifw, opencl, (cpu || accelerator)
// RUN: %clangxx %s -DXPTI_COLLECTOR -DXPTI_CALLBACK_API_EXPORTS %xptifw_lib %shared_lib %fPIC %cxx_std_optionc++17 -o %t_collector.dll
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: env XPTI_TRACE_ENABLE=1 XPTI_FRAMEWORK_DISPATCHER=%xptifw_dispatcher XPTI_SUBSCRIBERS=%t_collector.dll SYCL_DEVICE_FILTER=opencl %t.out | FileCheck %s 2>&1
Expand Down