Skip to content

Commit

Permalink
Removed the special case for intel compiler
Browse files Browse the repository at this point in the history
The intel compiler was treated the same as the clang compiler, even
though it did not have the same problems for compiling. Therefore,
the intel compiler is now treated the same as all the others
(except clang).
  • Loading branch information
Thomas Grützmacher committed Sep 20, 2019
1 parent 632bd8a commit 41d1576
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cuda/base/math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ struct remove_complex_impl<thrust::complex<T>> {

template <typename T>
struct is_complex_impl<thrust::complex<T>>
: public std::integral_constant<bool, true> {
};
: public std::integral_constant<bool, true> {};


template <typename T>
Expand Down Expand Up @@ -103,7 +102,7 @@ __device__ GKO_INLINE std::complex<double> one<std::complex<double>>()
#if defined(__CUDA_ARCH__) && defined(__CUDACC_VER_MAJOR__) && \
defined(__CUDACC_VER_MINOR__) && \
(__CUDACC_VER_MAJOR__ * 1000 + __CUDACC_VER_MINOR__) < 9002 && \
(defined(__clang__) || defined(__ICC) || defined(__ICL))
defined(__clang__)


namespace detail {
Expand All @@ -114,8 +113,7 @@ namespace detail {
* point type. Uses specialization to implement different types.
*/
template <typename T>
struct mask_creator {
};
struct mask_creator {};

template <>
struct mask_creator<float> {
Expand Down

0 comments on commit 41d1576

Please sign in to comment.