File tree Expand file tree Collapse file tree 6 files changed +4
-7
lines changed Expand file tree Collapse file tree 6 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ int main() {
36
36
bool result = true ;
37
37
cl_command_queue cq = get_native<backend::opencl>(Queue);
38
38
device dev = Queue.get_device ();
39
- bool expected_result = dev. is_host () ? true : isQueueInOrder (cq);
39
+ bool expected_result = isQueueInOrder (cq);
40
40
41
41
if (expected_result != result) {
42
42
std::cout << " Resulting queue order is OOO but expected order is inorder"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ int main() {
36
36
37
37
bool result = true ;
38
38
cl_command_queue cq = sycl::get_native<backend::opencl>(q);
39
- bool expected_result = dev. is_host () ? true : getQueueOrder (cq);
39
+ bool expected_result = getQueueOrder (cq);
40
40
if (expected_result != result) {
41
41
std::cout << " Resulting queue order is OOO but expected order is inorder"
42
42
<< std::endl;
Original file line number Diff line number Diff line change 1
1
//
2
2
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-unnamed-lambda %s -o %t.out
3
- // RUN: %HOST_RUN_PLACEHOLDER %t.out
4
3
// RUN: %ACC_RUN_PLACEHOLDER %t.out
5
4
// RUN: %CPU_RUN_PLACEHOLDER %t.out
6
5
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Original file line number Diff line number Diff line change 1
1
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2
- // RUN: %HOST_RUN_PLACEHOLDER %t.out
3
2
// RUN: %ACC_RUN_PLACEHOLDER %t.out
4
3
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5
4
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Original file line number Diff line number Diff line change 1
1
//
2
2
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-unnamed-lambda %s -o %t.out
3
- // RUN: %HOST_RUN_PLACEHOLDER %t.out
4
3
// RUN: %ACC_RUN_PLACEHOLDER %t.out
5
4
// RUN: %CPU_RUN_PLACEHOLDER %t.out
6
5
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ int CheckQueueOrder(const queue &q) {
34
34
auto dev = q.get_device ();
35
35
36
36
cl_command_queue cq = get_native<backend::opencl>(q);
37
- bool expected_result = dev. is_host () ? true : getQueueOrder (cq);
37
+ bool expected_result = getQueueOrder (cq);
38
38
if (!expected_result)
39
39
return -1 ;
40
40
41
- expected_result = dev. is_host () ? true : q.is_in_order ();
41
+ expected_result = q.is_in_order ();
42
42
if (!expected_result)
43
43
return -2 ;
44
44
You can’t perform that action at this time.
0 commit comments