Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
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
5 changes: 2 additions & 3 deletions SYCL/KernelParams/array-kernel-param-nested-run.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// This test checks kernel execution with array parameters inside structs.

// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
Expand Down Expand Up @@ -141,7 +140,7 @@ bool run_tests() {
}

auto D = Q.get_device();
const char *devType = D.is_host() ? "Host" : D.is_cpu() ? "CPU" : "GPU";
const char *devType = D.is_cpu() ? "CPU" : "GPU";
std::cout << passCount << " of " << testCount << " tests passed on "
<< devType << "\n";

Expand All @@ -152,7 +151,7 @@ int main(int argc, char *argv[]) {
bool passed = true;
default_selector selector{};
auto D = selector.select_device();
const char *devType = D.is_host() ? "Host" : D.is_cpu() ? "CPU" : "GPU";
const char *devType = D.is_cpu() ? "CPU" : "GPU";
std::cout << "Running on device " << devType << " ("
<< D.get_info<sycl::info::device::name>() << ")\n";
try {
Expand Down
5 changes: 2 additions & 3 deletions SYCL/KernelParams/array-kernel-param-run.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// This test checks kernel execution with array kernel parameters.

// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
Expand Down Expand Up @@ -201,7 +200,7 @@ bool run_tests() {
}

auto D = Q.get_device();
const char *devType = D.is_host() ? "Host" : D.is_cpu() ? "CPU" : "GPU";
const char *devType = D.is_cpu() ? "CPU" : "GPU";
std::cout << passCount << " of " << testCount << " tests passed on "
<< devType << "\n";

Expand All @@ -212,7 +211,7 @@ int main(int argc, char *argv[]) {
bool passed = true;
default_selector selector{};
auto D = selector.select_device();
const char *devType = D.is_host() ? "Host" : D.is_cpu() ? "CPU" : "GPU";
const char *devType = D.is_cpu() ? "CPU" : "GPU";
std::cout << "Running on device " << devType << " ("
<< D.get_info<sycl::info::device::name>() << ")\n";
try {
Expand Down
1 change: 0 additions & 1 deletion SYCL/KernelParams/non-standard-layout.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
Expand Down
1 change: 0 additions & 1 deletion SYCL/KernelParams/struct_kernel_param.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
Expand Down
1 change: 0 additions & 1 deletion SYCL/KernelParams/union_kernel_param.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// This test checks kernel execution with union type as kernel parameters.

// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
Expand Down