Skip to content

Commit

Permalink
Fix build with cuda 12.6 (fairinternal/xformers#1177)
Browse files Browse the repository at this point in the history
Co-authored-by: danthe3rd <danthe3rd>

__original_commit__ = fairinternal/xformers@de08b3f
  • Loading branch information
danthe3rd authored and xFormers Bot committed Aug 7, 2024
1 parent 567cb66 commit 926f410
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
(!defined(__CUDA_ARCH__) || __CUDA_ARCH__ >= 700 || \
(!defined(_MSC_VER) && __CUDA_ARCH__ >= 600))
#if CUDA_ARCH_SUPPORTS_ATOMICS
#include <cuda/atomic>
#include <cuda/std/atomic>
#include <cuda/std/version>
// cuda::atomic_ref is only available in libcudacxx 1.7.0+ (which corresponds to
Expand Down

0 comments on commit 926f410

Please sign in to comment.