Skip to content

Commit 0b395ac

Browse files
committed
Fix some comments in the remote memory table modules
1 parent 3cd4a2a commit 0b395ac

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Data/Array/Accelerate/Array/Remote/LRU.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ instance Task () where
113113
--
114114
-- The function supplied should be the `free` for the remote pointers being
115115
-- stored. This function will be called by the GC, which typically runs on a
116-
-- different thread. Unlike the `free` in `RemoteMemory`, this function cannot
117-
-- depend on any state.
116+
-- different thread. Consequently, unlike the functions in 'RemoteMemory', this
117+
-- function cannot depend on any state.
118118
--
119119
new :: (forall a. ptr a -> IO ()) -> IO (MemoryTable ptr task)
120120
new release = do

src/Data/Array/Accelerate/Array/Remote/Table.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ formatStableArray = later $ \case
113113

114114
-- | Create a new memory table from host to remote arrays.
115115
--
116-
-- The function supplied should be the `free` for the remote pointers being
116+
-- The function supplied should be the @free@ for the remote pointers being
117117
-- stored. This function will be called by the GC, which typically runs on a
118-
-- different thread. Unlike the `free` in `RemoteMemory`, this function cannot
119-
-- depend on any state.
118+
-- different thread. Consequently, unlike the functions in 'RemoteMemory', this
119+
-- function cannot depend on any state.
120120
--
121121
new :: (forall a. ptr a -> IO ()) -> IO (MemoryTable ptr)
122122
new release = do

0 commit comments

Comments
 (0)