mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-11 17:00:22 +00:00
fix
This commit is contained in:
@@ -83,7 +83,8 @@ struct NvlsAdapter {
|
||||
// fp8_e4m3b15 is a software-only type with no hardware NVLS support.
|
||||
return cudaErrorNotSupported;
|
||||
} else
|
||||
#if (!defined(__CUDA_ARCH_SPECIFIC__) && !defined(__CUDA_ARCH_FAMILY_SPECIFIC__)) || (__CUDA_ARCH__ < 1000)
|
||||
#if defined(__CUDA_ARCH__) && \
|
||||
((!defined(__CUDA_ARCH_SPECIFIC__) && !defined(__CUDA_ARCH_FAMILY_SPECIFIC__)) || (__CUDA_ARCH__ < 1000))
|
||||
if constexpr (std::is_same_v<T, __fp8_e4m3> || std::is_same_v<T, __fp8_e5m2>) {
|
||||
return cudaErrorNotSupported;
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user