JuliaParallel / JuliaParallel/DistributedArrays.jl

broadcasting and map are not type inferrable

未关闭
#236 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
205
派生
34
PR 合并指标
30 天内没有已合并 PR

描述

The following code does not infer properly:
```julia
using DistributedArrays
addprocs(1)
a = distribute(rand(10), procs = [1,2])
f(x) = log.(x)
@code_warntype f(a)
@code_warntype map(log, a)
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by running the Julia reproduction with DistributedArrays, addprocs, distribute, broadcasting, map, and @code_warntype. Trace the DistributedArrays paths used by f(a) and map(log, a); the issue is done when both expressions infer appropriately, but no files or tests are identified in the report.

由索引模型根据 Issue 内容生成。

评估

技术栈
julia
领域
distributed-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。