Skip to content

Commit

Permalink
[WIP][IDAG] drop outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fknorr committed May 7, 2024
1 parent 891fdb4 commit 65895cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/device_selection.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ using devices_or_selector = std::variant<auto_select_devices, std::vector<sycl::
template <typename DeviceT>
void check_required_device_aspects(const DeviceT& device) {
if(!device.has(sycl::aspect::usm_device_allocations)) { throw std::runtime_error("device does not support USM device allocations"); }
// NOTE: We don't need host allocations strictly speaking, only used for convenience.
if(!device.has(sycl::aspect::usm_host_allocations)) { throw std::runtime_error("device does not support USM host allocations"); }
}

Expand Down

0 comments on commit 65895cf

Please sign in to comment.