File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ It is also important to note that the localparts of the DArray is collected from
241
241
when the DArray object on the process creating the DArray is collected. It is therefore important to maintain
242
242
a reference to a DArray object on the creating process for as long as it is being computed upon.
243
243
244
- ` darray_closeall ()` is another useful function to manage distributed memory. It releases all darrays created from
244
+ ` d_closeall ()` is another useful function to manage distributed memory. It releases all darrays created from
245
245
the calling process, including any temporaries created during computation.
246
246
247
247
Working with distributed non-array data (requires Julia 0.6)
@@ -427,6 +427,6 @@ function foo(d::DArray)
427
427
end
428
428
spmd(foo,....)
429
429
```
430
- Without the ` myid() ` check, the ` spmd ` call to ` foo ` would execute ` map! ` from all nodes, which is not what we probably want.
430
+ Without the ` myid() ` check, the ` spmd ` call to ` foo ` would execute ` map! ` from all nodes, which is not what we probably want.
431
431
432
432
Similarly ` @everywhere ` from within a SPMD run should also be driven from the master node only.
Original file line number Diff line number Diff line change @@ -43,7 +43,10 @@ using SpecialFunctions
43
43
44
44
@testset " Global DArray serialization issue #134" begin
45
45
global A134 = drandn (1 )
46
- @test DArray (I -> DistributedArrays. localpart (A134), A134) == A134
46
+ D2 = DArray (I -> DistributedArrays. localpart (A134), A134)
47
+ @test D2 == A134
48
+ close (A134)
49
+ close (D2)
47
50
end
48
51
49
52
@testset " empty_localpart should work when only constructor (not conversion is defined)" begin
156
159
157
160
check_leaks ()
158
161
159
- @testset " copy!" begin
162
+ @testset " test copy!" begin
160
163
D1 = dzeros ((10 ,10 ))
161
164
r1 = remotecall_wait (() -> randn (3 ,10 ), workers ()[1 ])
162
165
r2 = remotecall_wait (() -> randn (7 ,10 ), workers ()[2 ])
You can’t perform that action at this time.
0 commit comments