test sum
example to fill value
1 auto d = CuPtr!float(3); 2 d.zero_(); 3 auto h = d.toHost(); 4 assert(h == [0, 0, 0]); 5 // assert(zeros!(CuPtr!float)(3).toHost() == [0, 0, 0]); 6 assert(d.fill_(3).toHost() == [3, 3, 3]);
See Implementation
test sum