Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Modify comments that reference atomic instead of atomic_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
wmaxey committed Oct 2, 2021
1 parent e6f11bd commit 4b77f5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// <cuda/std/atomic>

// template <class T>
// struct atomic<T*>
// struct atomic_ref<T*>
// {
// bool is_lock_free() const volatile;
// bool is_lock_free() const;
Expand Down
4 changes: 2 additions & 2 deletions include/cuda/std/atomic
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ struct atomic<_Tp*, _Sco>
_Tp* operator-=(ptrdiff_t __op) noexcept {return fetch_sub(__op) - __op;}
};

// atomic<T>
// atomic_ref<T>

template <class _Tp, thread_scope _Sco = thread_scope::thread_scope_system>
struct atomic_ref
Expand Down Expand Up @@ -198,7 +198,7 @@ struct atomic_ref
}
};

// atomic<T*>
// atomic_ref<T*>

template <class _Tp, thread_scope _Sco>
struct atomic_ref<_Tp*, _Sco>
Expand Down

0 comments on commit 4b77f5c

Please sign in to comment.