Skip to content

Commit 5358def

Browse files
committed
Revert change made for testing.
1 parent d789703 commit 5358def

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sycl/source/detail/device_impl.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -803,9 +803,7 @@ ext::oneapi::experimental::architecture device_impl::getDeviceArch() const {
803803
bool device_impl::isFp16Supported() const {
804804
// If we don't get anything back from this we can assume the device doesn't
805805
// 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();
806+
return !get_info<info::device::half_fp_config>().empty();
809807
}
810808

811809
bool device_impl::isFp64Supported() const {

0 commit comments

Comments
 (0)