File tree 5 files changed +15
-0
lines changed
5 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 1
1
// UNSUPPORTED: windows
2
2
// RUN: %clangxx -fsycl -c %s -o %t.o
3
3
// RUN: %clangxx -fsycl %t.o %sycl_libs_dir/libsycl-cmath-fp64.o -o %t.out
4
+ // RUN: env SYCL_DEVICE_TYPE=HOST %t.out
5
+ // RUN: %CPU_RUN_PLACEHOLDER %t.out
6
+ // RUN: %ACC_RUN_PLACEHOLDER %t.out
4
7
#include < CL/sycl.hpp>
5
8
#include < cmath>
6
9
#include < iostream>
Original file line number Diff line number Diff line change 1
1
// UNSUPPORTED: windows
2
2
// RUN: %clangxx -fsycl -c %s -o %t.o
3
3
// RUN: %clangxx -fsycl %t.o %sycl_libs_dir/libsycl-cmath.o -o %t.out
4
+ // RUN: env SYCL_DEVICE_TYPE=HOST %t.out
5
+ // RUN: %CPU_RUN_PLACEHOLDER %t.out
6
+ // RUN: %ACC_RUN_PLACEHOLDER %t.out
4
7
#include < CL/sycl.hpp>
5
8
#include < cmath>
6
9
#include < iostream>
Original file line number Diff line number Diff line change 1
1
// UNSUPPORTED: windows
2
2
// RUN: %clangxx -fsycl -c %s -o %t.o
3
3
// RUN: %clangxx -fsycl %t.o %sycl_libs_dir/libsycl-cmath-fp64.o -o %t.out
4
+ // RUN: env SYCL_DEVICE_TYPE=HOST %t.out
5
+ // RUN: %CPU_RUN_PLACEHOLDER %t.out
6
+ // RUN: %ACC_RUN_PLACEHOLDER %t.out
4
7
#include < CL/sycl.hpp>
5
8
#include < iostream>
6
9
#include < math.h>
Original file line number Diff line number Diff line change 1
1
// UNSUPPORTED: windows
2
2
// RUN: %clangxx -fsycl -c %s -o %t.o
3
3
// RUN: %clangxx -fsycl %t.o %sycl_libs_dir/libsycl-cmath.o -o %t.out
4
+ // RUN: env SYCL_DEVICE_TYPE=HOST %t.out
5
+ // RUN: %CPU_RUN_PLACEHOLDER %t.out
6
+ // RUN: %ACC_RUN_PLACEHOLDER %t.out
4
7
#include < CL/sycl.hpp>
5
8
#include < iostream>
6
9
#include < math.h>
Original file line number Diff line number Diff line change 1
1
// UNSUPPORTED: windows
2
2
// RUN: %clangxx -fsycl -c %s -o %t.o
3
3
// RUN: %clangxx -fsycl %t.o %sycl_libs_dir/libsycl-cmath.o -o %t.out
4
+ // RUN: env SYCL_DEVICE_TYPE=HOST %t.out
5
+ // RUN: %CPU_RUN_PLACEHOLDER %t.out
6
+ // RUN: %ACC_RUN_PLACEHOLDER %t.out
4
7
#include < CL/sycl.hpp>
5
8
#include < iostream>
6
9
#include < math.h>
You can’t perform that action at this time.
0 commit comments