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 d789703 commit 5358defCopy full SHA for 5358def
sycl/source/detail/device_impl.cpp
@@ -803,9 +803,7 @@ ext::oneapi::experimental::architecture device_impl::getDeviceArch() const {
803
bool device_impl::isFp16Supported() const {
804
// If we don't get anything back from this we can assume the device doesn't
805
// support fp16.
806
- auto halfConfig = get_info<info::device::half_fp_config>();
807
- // return !get_info<info::device::half_fp_config>().empty();
808
- return !halfConfig.empty();
+ return !get_info<info::device::half_fp_config>().empty();
809
}
810
811
bool device_impl::isFp64Supported() const {
0 commit comments