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

Commit 11417e4

Browse files
authored
Fix wrong uses of accelerator LIT feature. (#969)
Renamed `acc` to `accelerator` and removed from the tests where possible.
1 parent e184d60 commit 11417e4

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

SYCL/AtomicRef/add_local.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7-
// Barrier is not supported on host. HIP and ACC do not support floating
8-
// point atomics.
9-
// XFAIL: host, hip, acc
7+
// Barrier is not supported on host. HIP does not support floating point
8+
// atomics.
9+
// XFAIL: host, hip
1010

1111
#include "add.h"
1212

SYCL/AtomicRef/max_local.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7-
// Barrier is not supported on host. HIP and ACC do not support floating
8-
// point atomics.
9-
// XFAIL: host, hip, acc
7+
// Barrier is not supported on host. HIP does not support floating point
8+
// atomics.
9+
// XFAIL: host, hip
1010

1111
#include "max.h"
1212

SYCL/AtomicRef/min_local.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7-
// Barrier is not supported on host. HIP and ACC do not support floating
8-
// point atomics.
9-
// XFAIL: host, hip, acc
7+
// Barrier is not supported on host. HIP does not support floating point
8+
// atomics.
9+
// XFAIL: host, hip
1010

1111
#include "min.h"
1212

SYCL/AtomicRef/sub_local.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7-
// Barrier is not supported on host. HIP and ACC do not support floating
8-
// point atomics.
9-
// XFAIL: host, hip, acc
7+
// Barrier is not supported on host. HIP does not support floating point
8+
// atomics.
9+
// XFAIL: host, hip
1010

1111
#include "sub.h"
1212

SYCL/Basic/half_builtins.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// Intel OpenCL CPU and FPGA emulator drivers do not support cl_khr_fp16
88
// extension
9-
// UNSUPPORTED: (cpu || acc) && opencl
9+
// UNSUPPORTED: (cpu || accelerator) && opencl
1010

1111
#include <sycl/sycl.hpp>
1212

SYCL/XPTI/buffer/multiple_queues.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: xptifw, opencl, (cpu || acc)
1+
// REQUIRES: xptifw, opencl, (cpu || accelerator)
22
// RUN: %clangxx %s -DXPTI_COLLECTOR -DXPTI_CALLBACK_API_EXPORTS %xptifw_lib %shared_lib %fPIC %cxx_std_optionc++17 -o %t_collector.dll
33
// RUN: %clangxx -fsycl %s -o %t.out
44
// 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

0 commit comments

Comments
 (0)