Expand documentation
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- julia
調査の方向性
ドキュメントファイルやテストは指定されていません。まず既存のDistributedArraysドキュメントとDArrayコンストラクターに関する資料を見つけ、次に現在のdzeros、スライシング、変換、コンストラクターの例を確認してください。完了条件は、DistributedArrayのストレージ、コピーの動作、パフォーマンスに関する指針をドキュメント化し、プロセスインデックスの説明を含む、より分かりやすい中間コンストラクターの例を追加することです。
索引モデルが issue の本文から書いたものです。
説明
We are finding the documentation for DistributedArrays to be lacking in a few ways:
-
There is no description of the actual DistributedArray type. It would be helpful to know how DistributedArrays are stored across processes. A lot of people who are using DistributedArrays are experienced at distributed programming, and will find it helpful to know how things are implemented. For instance, it would be helpful to get an idea (without looking at the source code) of how the local parts are tied together in a single type.
-
When are values copied/not copied? For example:
da = dzeros(100,100)
sa = da[1:10, 35:50]
out = convert(DArray, sa)
Does the last line here copy the values of sa? More generally, information about performance would be really useful, as well as some performance tips.
- Expound a bit more on DArray constructor. Perhaps an example somewhere between
dfilland the Game of Life would help, like this:
procs = addprocs(5)
# Construct a DArray
da = DArray((2,5), procs, [1,5]) do I
# construct a local part
localpart = Array{Float64}(2,1)
for i in first(I) # first(I) = 1:2
localpart[i] = i
end
return localpart
end
It would help to describe this example as follows:
This DArray is distributed so that each of 5 processes holds one column. I is a tuple of indices describing the indices of the DArray that reside on a given process. On the first process, I = (1:2,1:1). In the init function, we construct the local column as a regular Array and return it to the DArray constructor. Note that it is important to return localpart: if we don't do this, then Julia returns the last variable that was assigned, which is localpart[2] - but the DArray constructor is expecting an array.
cc @pearlzli
- 主要言語
- Julia
- スター
- 205
- フォーク
- 34
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaParallel/DistributedArrays.jl のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
JuliaParallel/DistributedArrays.jl#255 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
JuliaParallel/DistributedArrays.jl#239 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
JuliaParallel/DistributedArrays.jl#238 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
JuliaParallel/DistributedArrays.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
JuliaParallel/Hwloc.jl#93 ·
-
Affine transformations of `JohnsonSU` could return a `JohnsonSU`対応中かも @devmotion が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
JuliaStats/Distributions.jl#2117 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
TomerAberbach/profiler-md#970 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
grame-cncm/faust#1409 ·
メンテナーはふだん 1 日以内に返信