This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed 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
2
3
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3
4
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4
5
// RUN: %ACC_RUN_PLACEHOLDER %t.out
@@ -24,6 +25,10 @@ int main() {
24
25
try {
25
26
auto devices = device::get_devices ();
26
27
for (const auto &dev : devices) {
28
+ // TODO: implement subdevices creation for host device
29
+ if (dev.is_host ())
30
+ continue ;
31
+
27
32
assert (dev.get_info <info::device::partition_type_property>() ==
28
33
info::partition_property::no_partition);
29
34
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
2
3
// RUN: %CPU_RUN_PLACEHOLDER %t.out
3
4
// RUN: %GPU_RUN_PLACEHOLDER %t.out
4
5
// RUN: %ACC_RUN_PLACEHOLDER %t.out
@@ -24,6 +25,10 @@ int main() {
24
25
try {
25
26
auto devices = device::get_devices ();
26
27
for (const auto &dev : devices) {
28
+ // TODO: implement subdevices creation for host device
29
+ if (dev.is_host ())
30
+ continue ;
31
+
27
32
assert (dev.get_info <info::device::partition_type_property>() ==
28
33
info::partition_property::no_partition);
29
34
You can’t perform that action at this time.
0 commit comments