File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments