Skip to content

Commit a8f64b5

Browse files
author
Y
committed
removed deprecated ishost api
1 parent abcd5b1 commit a8f64b5

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

QuickSilver/SYCL/src/main.cc.dp.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -306,25 +306,11 @@ int main(int argc, char **argv)
306306
{
307307
sycl_device_queue = sycl::gpu_selector{};
308308
}
309-
else if (devname == "HOST")
310-
{
311-
sycl_device_queue = sycl::host_selector{};
312-
}
313309
else
314310
{
315311
std::cout << "QS_DEVICE must be CPU, GPU or HOST" << std::endl;
316312
std::abort();
317313
}
318-
319-
// DEBUG - REMOVE LATER
320-
if (sycl_device_queue.get_device().is_cpu())
321-
std::cout << "is cpu" << std::endl;
322-
if (sycl_device_queue.get_device().is_gpu())
323-
std::cout << "is gpu" << std::endl;
324-
if (sycl_device_queue.get_device().is_host())
325-
std::cout << "is host" << std::endl;
326-
if (sycl_device_queue.get_device().is_accelerator())
327-
std::cout << "is accelerator" << std::endl;
328314
#endif
329315

330316
// mcco stores just about everything.

0 commit comments

Comments
 (0)