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

Commit

Permalink
Merge pull request #246 from daniellustig/atomics_gpu_mem
Browse files Browse the repository at this point in the history
Two small wording changes
  • Loading branch information
wmaxey authored Mar 23, 2022
2 parents b15a6b0 + 64a538e commit ff71ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/extended_api/thread_scopes.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ An atomic operation is atomic at the scope it specifies if:
`1`, or
- it affects an object in CPU memory and [`hostNativeAtomicSupported`] is `1`,
or
- it affects an object in GPU peer memory and only GPU threads access it.
- it affects an object in GPU memory and only GPU threads access it.

Refer to the [CUDA programming guide] for more information on
unified memory, CPU memory, and GPU peer memory.
Expand Down Expand Up @@ -112,7 +112,7 @@ Modify [thread.latch.class paragraph 2] of ISO/IEC IS 14882 (the C++ Standard)
as follows:
> 2. Concurrent invocations of the member functions of `latch`, other than its
> destructor, do not introduce data races
> ***as if they were atomic operations.***.
> ***as if they were atomic operations***.
Modify [thread.sema.cnt paragraph 3] of ISO/IEC IS 14882 (the C++ Standard) as
follows:
Expand Down

0 comments on commit ff71ebf

Please sign in to comment.