From 1eef5c3cf1f4d9a3338b638fa95db764da13411f Mon Sep 17 00:00:00 2001 From: ptrblck Date: Tue, 28 Mar 2023 14:47:10 -0700 Subject: [PATCH] add guards for __CUDA_ARCH__ >= 530 (#891) * add guards for sm>=70 * drop guard to 530 --- include/cutlass/functional.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cutlass/functional.h b/include/cutlass/functional.h index 59aec46a..f12515f2 100644 --- a/include/cutlass/functional.h +++ b/include/cutlass/functional.h @@ -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> {