Browse Source

feat(opencl/svm): add opencl svm more test

GitOrigin-RevId: 3ebfbed0bd
master
Megvii Engine Team 2 years ago
parent
commit
6d21982773
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/core/impl/tensor.cpp

+ 1
- 1
src/core/impl/tensor.cpp View File

@@ -65,7 +65,7 @@ void noncont_tensor_copy(
}
DeviceTensorND tmp;
tmp.copy_from(src);
dest.copy_from_fixlayout(tmp);
dest.copy_from_fixlayout(tmp).sync();
}

//! implement non-contiguous h2d copy


Loading…
Cancel
Save