Skip to content

Commit cbcc525

Browse files
author
Y
committed
removed deprecated ishost api
1 parent f0fbef8 commit cbcc525

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

cudaSift/SYCL/infra/device.hpp

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -204,21 +204,8 @@ namespace infra
204204
prop.set_host_unified_memory(
205205
get_info<sycl::info::device::host_unified_memory>());
206206

207-
// max_clock_frequency parameter is not supported on host device
208-
if (is_host())
209-
{
210-
// This code may need to be updated. Currently max_clock_frequency for
211-
// host device is initialized with 1, in assumption that if other devices
212-
// exist and they are being selected based on this parameter, other
213-
// devices would have higher priority.
214-
prop.set_max_clock_frequency(1);
215-
}
216-
else
217-
{
218-
prop.set_max_clock_frequency(
207+
prop.set_max_clock_frequency(
219208
get_info<sycl::info::device::max_clock_frequency>());
220-
}
221-
222209
prop.set_max_compute_units(
223210
get_info<sycl::info::device::max_compute_units>());
224211
prop.set_max_work_group_size(

0 commit comments

Comments
 (0)