Skip to content

Commit 85bfb35

Browse files
authored
[SYCLomatic] Remove the is_host in the helper function test since the API was removed from SYCL header (#738)
Signed-off-by: Jiang, Zhiwei <[email protected]>
1 parent 819fe52 commit 85bfb35

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

help_function/src/c2s_device_info.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ int main() {
4343
dev_info_output(device, "gpu device");
4444
if(device.is_cpu())
4545
dev_info_output(device, "cpu device");
46-
if(device.is_host())
47-
dev_info_output(device, "host device");
4846
if(device.is_accelerator())
4947
dev_info_output(device, "accelerator device");
5048

help_function/src/dpct_device_info.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ int main() {
4343
dev_info_output(device, "gpu device");
4444
if(device.is_cpu())
4545
dev_info_output(device, "cpu device");
46-
if(device.is_host())
47-
dev_info_output(device, "host device");
4846
if(device.is_accelerator())
4947
dev_info_output(device, "accelerator device");
5048

0 commit comments

Comments
 (0)