JuliaSIMD / JuliaSIMD/LoopVectorization.jl

vmap and StaticVectors

Đang mở
#7 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Julia
Star
789
Fork
73
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

As predicted, `vmap` gives me a tremendous boost in performance =) I'm hitting an error when mapping over static arrays though
```julia
julia> vmap(exp, randn(8));

julia> vmap(exp, @SVector randn(8));
ERROR: conversion to pointer not defined for SArray{Tuple{8},Float64,1,8}
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Reproduce the reported commands with Julia, comparing vmap(exp, randn(8)) and vmap(exp, @SVector randn(8)). Trace the vmap handling of the SArray input and determine what needs to change so the static-array call completes without the pointer-conversion error; done means the reproduced call succeeds.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
julia
Lĩnh vực
performance
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.