Skip to content

Commit 23f419d

Browse files
committed
clean up syntax
1 parent 906ad05 commit 23f419d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/030-coherent-pointers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ public enum CoherentScope
6363
//...
6464
}
6565

66-
__generic<T, uint64_t addrSpace=AddressSpace::UserPointer, CoherentScope coherentScope=CoherentScope.NotCoherent>
66+
__generic<T, uint64_t addrSpace=AddressSpace::UserPointer, CoherentScope coherentScope=CoherentScope::NotCoherent>
6767
struct Ptr
6868
{
6969
...
7070
}
7171
```
7272

73-
If `coherentScope` is not `CoherentScope.NotCoherent`, all accesses to memory through this pointer will be considered coherent to the specified memory scope (example: `CoherentScope::Device` is coherent to the memory scope of `Device`).
73+
If `coherentScope` is not `CoherentScope::NotCoherent`, all accesses to memory through this pointer will be considered coherent to the specified memory scope (example: `CoherentScope::Device` is coherent to the memory scope of `Device`).
7474

7575
We will also provide a type alias for user-convenience.
7676

0 commit comments

Comments
 (0)