Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fbusato committed Jan 30, 2025
1 parent fa4d829 commit fc28c44
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions c2h/generators.cu
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,10 @@ INSTANTIATE(double);
INSTANTIATE(bool);
INSTANTIATE(char);

#ifdef _CCCL_HAS_NVFP16
#if _CCCL_HAS_NVFP16()
INSTANTIATE(half_t);
INSTANTIATE(__half);
#endif // _CCCL_HAS_NVFP16
#endif // _CCCL_HAS_NVFP16()

#if _CCCL_HAS_NVBF16()
INSTANTIATE(bfloat16_t);
Expand Down
2 changes: 1 addition & 1 deletion c2h/include/c2h/generators.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#if THRUST_DEVICE_SYSTEM == THRUST_DEVICE_SYSTEM_CUDA
# if _CCCL_HAS_NVFP16()
# include <cuda_fp16.h>
# endif // _CCCL_HAS_NVFP16
# endif // _CCCL_HAS_NVFP16()

# if _CCCL_HAS_NVBF16()
_CCCL_DIAG_PUSH
Expand Down
2 changes: 1 addition & 1 deletion cub/cub/util_type.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ struct FpLimits<__nv_bfloat16>
return reinterpret_cast<__nv_bfloat16&>(lowest_word);
}
};
# endif // _CCCL_HAS_NVBF16
# endif // _CCCL_HAS_NVBF16()

# if _CCCL_HAS_NVFP8()
template <>
Expand Down
2 changes: 1 addition & 1 deletion libcudacxx/include/cuda/std/__internal/features.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
#ifndef _LIBCUDACXX_HAS_NVBF16
# if _CCCL_HAS_NVBF16() && _CCCL_CUDACC_AT_LEAST(12, 2)
# define _LIBCUDACXX_HAS_NVBF16
# endif // _CCCL_HAS_NVBF16 && _CCCL_CUDACC_AT_LEAST(12, 2)
# endif // _CCCL_HAS_NVBF16() && _CCCL_CUDACC_AT_LEAST(12, 2)
#endif // !_LIBCUDACXX_HAS_NVBF16

// NVCC does not have a way of silencing non '_' prefixed UDLs
Expand Down

0 comments on commit fc28c44

Please sign in to comment.