Steven R. Brandt
Steven R. Brandt
@hkaiser I tested the 2D functionality, but not 3D.
@khuck just rename the variable to not be "gradient" and all will be well.
@hkaiser `array_d(arg)` should not take a shape arg. It should work kind of like `numpy.array(arg)` does. It should convert a non-distributed array into a distributed one. The value `arg` should...
@ct-clmsn see above about what I think `array_d()` ought to do.
@hkaiser -- if we assume pure SPMD, then any non-distributed array must have an identical copy on each locality (unless it's a random array). I guess that means `array_d()` would...
@hkaiser I don't see how `slice_column_d()` or `slice_row_d()` provide this functionality. As for `annotate_d()`, sure, that works. However, it means the user has to figure out exactly which piece of...
@ct-clmsn I'm not sure I understand your idea. Normally, when we think of a distributed array, I think of a large array with some definite shape that gets chopped into...
@hkaiser I'm a little confused. What do you mean it might not be an array? The lambda should always return a scalar. Array creation with fromfunction() looks like this: ```...
@ct-clmsn I think it's better to pass the size of the global array and the number of localities and have some algorithm figure out how to make it work. What...
@hkaiser, so I see I was mistaken. It passes an array of integers--it just happens to give the same answer I was expecting. I think it would be okay for...