Skip to content
Snippets Groups Projects
Commit c71cdb6d authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed error in DistributedNDArray which caused nvcc compiler warnings

parent 43700fdd
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ public:
{
return this->localArray.getStorageIndex( std::forward< decltype(indices) >( indices )... );
};
return __ndarray_impl::call_with_unshifted_indices< LocalBeginsType >( localBegins, getStorageIndex, std::forward< IndexTypes >( indices )... );
return __ndarray_impl::host_call_with_unshifted_indices< LocalBeginsType >( localBegins, getStorageIndex, std::forward< IndexTypes >( indices )... );
}
ValueType* getData()
......
......@@ -165,7 +165,7 @@ public:
{
return this->localView.getStorageIndex( std::forward< decltype(indices) >( indices )... );
};
return __ndarray_impl::call_with_unshifted_indices< LocalBeginsType >( localBegins, getStorageIndex, std::forward< IndexTypes >( indices )... );
return __ndarray_impl::host_call_with_unshifted_indices< LocalBeginsType >( localBegins, getStorageIndex, std::forward< IndexTypes >( indices )... );
}
ValueType* getData()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment