Skip to content

Commit 1cf2bf1

Browse files
committed
Added host device decoration to Array move constructor.
1 parent f0973eb commit 1cf2bf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Array.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ class Array : public ArrayView< T,
128128
* shallow copy that invalidates the contents of source. However this depends on the
129129
* implementation of BUFFER_TYPE.
130130
*/
131+
LVARRAY_HOST_DEVICE
131132
Array( Array && source ):
132133
ParentClass( std::move( source ) )
133134
{

0 commit comments

Comments
 (0)