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

[SYCL] Remove host run and dependencies from SYCL/SubGroup tests #1220

Merged
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
4 changes: 0 additions & 4 deletions SYCL/SubGroup/barrier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ void check(queue &Queue, size_t G = 240, size_t L = 60) {
}
int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}
check<int>(Queue);
check<unsigned int>(Queue);
check<long>(Queue);
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SubGroup/broadcast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@

int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}
check<int>(Queue);
check<unsigned int>(Queue);
check<long>(Queue);
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SubGroup/broadcast_fp16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@

int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}
check<sycl::half>(Queue);
std::cout << "Test passed." << std::endl;
return 0;
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SubGroup/broadcast_fp64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@

int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}
check<double>(Queue);
std::cout << "Test passed." << std::endl;
return 0;
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SubGroup/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ void check(queue &Queue, unsigned int G, unsigned int L) {
}
int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}

check(Queue, 240, 80);
check(Queue, 8, 4);
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SubGroup/generic-shuffle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,6 @@ void check_struct(queue &Queue, Generator &Gen, size_t G = 256, size_t L = 64) {

int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}

// Test shuffle of pointer types
check_pointer<class KernelName_mNiN, int>(Queue);
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SubGroup/load_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ template <typename T> void check(queue &Queue) {

int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}
std::string PlatformName =
Queue.get_device().get_platform().get_info<info::platform::name>();
auto Vec = Queue.get_device().get_info<info::device::extensions>();
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SubGroup/shuffle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@

int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}
check<short>(Queue);
check<unsigned short>(Queue);
check<int>(Queue);
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SubGroup/shuffle_fp16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@

int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}
check<half>(Queue);
std::cout << "Test passed." << std::endl;
return 0;
Expand Down
4 changes: 0 additions & 4 deletions SYCL/SubGroup/shuffle_fp64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@

int main() {
queue Queue;
if (Queue.get_device().is_host()) {
std::cout << "Skipping test\n";
return 0;
}
check<double>(Queue);
std::cout << "Test passed." << std::endl;
return 0;
Expand Down
1 change: 0 additions & 1 deletion SYCL/SubGroup/sub_group_as_vec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
//
//
// Missing __spirv_GenericCastToPtrExplicit_ToLocal,
// __spirv_SubgroupLocalInvocationId, __spirv_GenericCastToPtrExplicit_ToGlobal,
// __spirv_SubgroupBlockReadINTEL, __assert_fail,
Expand Down