File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/Data/Array/Accelerate/Array/Remote Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff 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--
119119new :: (forall a . ptr a -> IO () ) -> IO (MemoryTable ptr task )
120120new release = do
Original file line number Diff line number Diff 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--
121121new :: (forall a . ptr a -> IO () ) -> IO (MemoryTable ptr )
122122new release = do
You can’t perform that action at this time.
0 commit comments