Skip to content
Snippets Groups Projects

Tutorials

Merged Tomáš Oberhuber requested to merge tutorials into develop
2 files
+ 5
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -16,7 +16,7 @@ void initVector( Vector< double, Device >& v,
{
auto view = v.getConstView();
auto init = [=] __cuda_callable__ ( int i, const double c ) mutable {
view[ i ] = c;
view[ i ] = c; }
ParallelFor< Device >::exec( 0, v.getSize(), init, c );
}
Loading