Skip to content

Commit febc5dc

Browse files
committed
Remove support of sycl::complex<sycl::half> type
1 parent 0e67a5c commit febc5dc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3333
* Fix warning in documentation generation caused by `diff` docstring [gh-1855](https://github.com/IntelPython/dpctl/pull/1855)
3434
* Fix additional warnings when generating docs [gh-1861](https://github.com/IntelPython/dpctl/pull/1861)
3535
* Add missing include of SYCL header to "math_utils.hpp" [gh-1899](https://github.com/IntelPython/dpctl/pull/1899)
36-
* Add support of cv-qualifiers and sycl::half type in `is_complex<T>` helper [gh-1900](https://github.com/IntelPython/dpctl/pull/1900)
36+
* Add support of CV-qualifiers in `is_complex<T>` helper [gh-1900](https://github.com/IntelPython/dpctl/pull/1900)
3737

3838
## [0.18.1] - Oct. 11, 2024
3939

dpctl/tensor/libtensor/include/utils/type_utils.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,8 @@ struct is_complex : public std::false_type
4343
template <typename T>
4444
struct is_complex<
4545
T,
46-
std::enable_if_t<
47-
std::is_same_v<std::remove_cv_t<T>, std::complex<sycl::half>> ||
48-
std::is_same_v<std::remove_cv_t<T>, std::complex<float>> ||
49-
std::is_same_v<std::remove_cv_t<T>, std::complex<double>>>>
46+
std::enable_if_t<std::is_same_v<std::remove_cv_t<T>, std::complex<float>> ||
47+
std::is_same_v<std::remove_cv_t<T>, std::complex<double>>>>
5048
: public std::true_type
5149
{
5250
};

0 commit comments

Comments
 (0)