File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11name = " NNlibCUDA"
22uuid = " a00861dc-f156-4864-bf3c-e6376f28a68d"
3- version = " 0.2.5 "
3+ version = " 0.2.6 "
44
55[deps ]
66Adapt = " 79e6a3ab-5dfb-504d-930d-738a2a938a0e"
@@ -13,7 +13,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1313[compat ]
1414Adapt = " 3.3"
1515CUDA = " 3.11"
16- NNlib = " 0.8.14 "
16+ NNlib = " 0.8.15 "
1717julia = " 1.6"
1818
1919[extras ]
Original file line number Diff line number Diff line change 11NNlib. _rng_from_array (:: CuArray ) = CUDA. default_rng ()
22
3+ NNlib. _rng_compat_array (rng:: CUDA.RNG , A:: CuArray ) = nothing
4+ NNlib. _rng_compat_array (rng:: AbstractRNG , A:: CuArray ) = throw (ArgumentError (
5+ " cannot use rng::$(typeof (rng)) with array::CuArray, only CUDA's own RNG type works" ))
6+
37function divide_kernel! (xs, ys, max_idx)
48 index = threadIdx (). x + (blockIdx (). x - 1 ) * blockDim (). x
59
You can’t perform that action at this time.
0 commit comments