JuliaGPU / Adapt.jl

Other
86 stars 24 forks source link

Avoid allocations when adapting tuples. #11

Closed maleadt closed 5 years ago

maleadt commented 5 years ago

Fixes https://github.com/JuliaGPU/CUDAnative.jl/issues/273#issuecomment-451041127, thanks @KristofferC!

codecov-io commented 5 years ago

Codecov Report

Merging #11 into master will decrease coverage by 5%. The diff coverage is 66.66%.

Impacted file tree graph

@@         Coverage Diff          @@
##           master   #11   +/-   ##
====================================
- Coverage      80%   75%   -5%     
====================================
  Files           2     2           
  Lines          10    12    +2     
====================================
+ Hits            8     9    +1     
- Misses          2     3    +1
Impacted Files Coverage Δ
src/base.jl 77.77% <66.66%> (-7.94%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 555d56e...5a67c6c. Read the comment docs.