Skip to content
Snippets Groups Projects
Commit 0235ef95 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Restored method sopyFromHostToCuda in Matrix.

parent f4144f9c
No related branches found
No related tags found
No related merge requests found
......@@ -140,6 +140,19 @@ bool Matrix< Real, Device, Index >::operator != ( const MatrixT& matrix ) const
return ! operator == ( matrix );
}
template< typename Real,
typename Device,
typename Index >
void
Matrix< Real, Device, Index >::
copyFromHostToCuda( Matrix< Real, Devices::Host, Index >& matrix )
{
this->numberOfColors = matrix.getNumberOfColors();
this->columns = matrix.getColumns();
this->rows = matrix.getRows();
this->values.setSize( matrix.getValuesSize() );
}
template< typename Real,
typename Device,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment