Fix runtime error in Kokkos package

This commit is contained in:
Stan Moore 2020-02-06 08:44:58 -07:00
parent 4eebcdfc0d
commit 1e7e9369da
1 changed files with 2 additions and 10 deletions

View File

@ -980,17 +980,9 @@ typedef struct ArrayTypes<LMPHostType> HAT;
template<class DeviceType, class BufferView, class DualView> template<class DeviceType, class BufferView, class DualView>
void buffer_view(BufferView &buf, DualView &view, void buffer_view(BufferView &buf, DualView &view,
const size_t n0, const size_t n0,
const size_t n1 = 0, const size_t n1) {
const size_t n2 = 0,
const size_t n3 = 0,
const size_t n4 = 0,
const size_t n5 = 0,
const size_t n6 = 0,
const size_t n7 = 0) {
buf = BufferView( buf = BufferView(view.template view<DeviceType>().data(),n0,n1);
view.template view<DeviceType>().data(),
n0,n1,n2,n3,n4,n5,n6,n7);
} }