add guards for __CUDA_ARCH__ >= 530 (#891)
* add guards for sm>=70 * drop guard to 530
This commit is contained in:
parent
87070b6d51
commit
1eef5c3cf1
@ -89,7 +89,7 @@ struct multiplies {
|
||||
}
|
||||
};
|
||||
|
||||
#if defined(__CUDA_ARCH__)
|
||||
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ >= 530
|
||||
/// Partial specializations needed when __CUDA_NO_HALF2_OPERATORS__ is set
|
||||
template<>
|
||||
struct plus<__half2> {
|
||||
|
Loading…
Reference in New Issue
Block a user