We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe6230b commit 313c8caCopy full SHA for 313c8ca
sycl/include/syclcompat/device.hpp
@@ -221,7 +221,7 @@ class device_ext : public sycl::device {
221
_saved_queue = _default_queue = _queues[0].get();
222
}
223
224
- bool is_native_host_atomic_supported() { return 0; }
+ bool is_native_host_atomic_supported() { return false; }
225
int get_major_version() const {
226
return get_device_info().get_major_version();
227
@@ -420,7 +420,7 @@ class dev_mgr {
420
device_ext &cpu_device() const {
421
std::lock_guard<std::mutex> lock(m_mutex);
422
if (_cpu_device == -1) {
423
- throw std::runtime_error("no valid cpu device");
+ throw std::runtime_error("[SYCLcompat] No valid cpu device");
424
} else {
425
return *_devs[_cpu_device];
426
0 commit comments