Skip to content

Commit 9a45735

Browse files
AlexeySachkovbb-sycl
authored andcommitted
[SYCL][NFC] Update InlineAsm tests to match SYCL 2020 (intel#1554)
1 parent bcce95d commit 9a45735

19 files changed

+19
-19
lines changed

SYCL/InlineAsm/asm_16_empty.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType> struct KernelFunctor : WithOutputBuffer<T> {
1414
KernelFunctor(size_t problem_size) : WithOutputBuffer<T>(problem_size) {}

SYCL/InlineAsm/asm_16_matrix_mult.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType> struct KernelFunctor : WithOutputBuffer<T> {
1414
KernelFunctor(size_t problem_size) : WithOutputBuffer<T>(problem_size) {}

SYCL/InlineAsm/asm_16_no_input_int.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType> struct KernelFunctor : WithOutputBuffer<T> {
1414
KernelFunctor(size_t problem_size) : WithOutputBuffer<T>(problem_size) {}

SYCL/InlineAsm/asm_16_no_opts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType> struct KernelFunctor : WithOutputBuffer<T> {
1414
KernelFunctor(size_t problem_size) : WithOutputBuffer<T>(problem_size) {}

SYCL/InlineAsm/asm_8_empty.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType> struct KernelFunctor : WithOutputBuffer<T> {
1414
KernelFunctor(size_t problem_size) : WithOutputBuffer<T>(problem_size) {}

SYCL/InlineAsm/asm_8_no_input_int.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType> struct KernelFunctor : WithOutputBuffer<T> {
1414
KernelFunctor(size_t problem_size) : WithOutputBuffer<T>(problem_size) {}

SYCL/InlineAsm/asm_arbitrary_ops_order.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType>
1414
struct KernelFunctor : WithInputBuffers<T, 3>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_decl_in_scope.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType>
1414
struct KernelFunctor : WithInputBuffers<T, 2>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_float_add.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <sycl/sycl.hpp>
1010
#include <vector>
1111

12-
using dataType = sycl::cl_double;
12+
using dataType = sycl::opencl::cl_double;
1313

1414
template <typename T = dataType>
1515
struct KernelFunctor : WithInputBuffers<T, 2>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_float_imm_arg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <vector>
1111

1212
constexpr double IMM_ARGUMENT = 0.5;
13-
using dataType = sycl::cl_double;
13+
using dataType = sycl::opencl::cl_double;
1414

1515
template <typename T = dataType>
1616
struct KernelFunctor : WithInputBuffers<T, 1>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_float_neg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_float;
11+
using dataType = sycl::opencl::cl_float;
1212

1313
template <typename T = dataType>
1414
struct KernelFunctor : WithInputBuffers<T, 1>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_if.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "include/asmhelper.h"
77
#include <sycl/sycl.hpp>
88

9-
using DataType = sycl::cl_int;
9+
using DataType = sycl::opencl::cl_int;
1010

1111
template <typename T = DataType> struct KernelFunctor : WithOutputBuffer<T> {
1212
KernelFunctor(size_t ProblemSize) : WithOutputBuffer<T>(ProblemSize) {}

SYCL/InlineAsm/asm_imm_arg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <vector>
1010

1111
constexpr int CONST_ARGUMENT = 0xabc;
12-
using dataType = sycl::cl_int;
12+
using dataType = sycl::opencl::cl_int;
1313

1414
template <typename T = dataType>
1515
struct KernelFunctor : WithInputBuffers<T, 1>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_loop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <sycl/sycl.hpp>
1010
#include <vector>
1111

12-
using DataType = sycl::cl_int;
12+
using DataType = sycl::opencl::cl_int;
1313

1414
template <typename T = DataType>
1515
struct KernelFunctor : WithInputBuffers<T, 2>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_mul.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType>
1414
struct KernelFunctor : WithInputBuffers<T, 2>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_multiple_instructions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <sycl/sycl.hpp>
1313
#include <vector>
1414

15-
using dataType = sycl::cl_int;
15+
using dataType = sycl::opencl::cl_int;
1616

1717
template <typename T = dataType>
1818
struct KernelFunctor : WithInputBuffers<T, 3>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_no_output.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType> struct KernelFunctor : WithOutputBuffer<T> {
1414
KernelFunctor(size_t problem_size) : WithOutputBuffer<T>(problem_size) {}

SYCL/InlineAsm/asm_plus_mod.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <sycl/sycl.hpp>
99
#include <vector>
1010

11-
using dataType = sycl::cl_int;
11+
using dataType = sycl::opencl::cl_int;
1212

1313
template <typename T = dataType>
1414
struct KernelFunctor : WithInputBuffers<T, 1>, WithOutputBuffer<T> {

SYCL/InlineAsm/asm_switch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "include/asmhelper.h"
77
#include <sycl/sycl.hpp>
88

9-
using DataType = sycl::cl_int;
9+
using DataType = sycl::opencl::cl_int;
1010

1111
template <typename T = DataType> struct KernelFunctor : WithOutputBuffer<T> {
1212
KernelFunctor(size_t ProblemSize) : WithOutputBuffer<T>(ProblemSize) {}

0 commit comments

Comments
 (0)