Run!! Worklet Run!!
Follow up !2842 (merged). Since we have UnknownCellSet
, many Worklet::Run
do not need to be templated on the CellSet
type. We can keep UnknownCellSet
all the way to Dispatcher/Invoker
.
Merge request reports
Activity
requested review from @kmorel
This merge request has been queued for testing. Test results may be viewed on:
- Gitlab CI builders results can be viewed via the Pipelines for this merge request.
- CDash links are also available in the Pipelines page
- CDash (master)
- Buildbot (master) (only visible from inside Kitware)
Branch-at-master: e3fa8161
Errors:
- commit cf0127b3 is not allowed because the following files are not formatted according to the 'clang-format' check:
vtkm/filter/entity_extraction/GhostCellRemove.cxx
,vtkm/filter/entity_extraction/Threshold.cxx
,vtkm/filter/entity_extraction/worklet/Threshold.h
. Post a comment ending in the lineDo: reformat
to rewrite the MR source branch automatically. - commit e3fa8161 is not allowed because the following files are not formatted according to the 'clang-format' check:
vtkm/filter/connected_components/worklet/CellSetConnectivity.h
. Post a comment ending in the lineDo: reformat
to rewrite the MR source branch automatically.
Please rewrite commits to fix the errors listed above (adding fixup commits will not resolve the errors) and force-push the branch again to update the merge request.
- commit cf0127b3 is not allowed because the following files are not formatted according to the 'clang-format' check:
Errors:
-
@ollielo: the
format
command is not recognized at all.
-
@ollielo: the
added 2 commits
This merge request has been queued for testing. Test results may be viewed on:
- Gitlab CI builders results can be viewed via the Pipelines for this merge request.
- CDash links are also available in the Pipelines page
- CDash (master)
- Buildbot (master) (only visible from inside Kitware)
Branch-at-master: b8c39f4f
99 99 100 100 class CellSetDualGraph 101 101 { 102 public: 103 102 using Algorithm = vtkm::cont::Algorithm; 104 103 105 104 struct degree2 - Comment on lines -102 to 105
As I'm sure you can tell from the error messages on CDash,
degree2
has to be in the public interface to work with theCopyIf
algorithm on CUDA. changed this line in version 3 of the diff
69 69 { 70 70 public: 71 71 template <typename InputArrayType, typename OutputArrayType> 72 void Run(const InputArrayType& numIndicesArray, 73 const InputArrayType& indexOffsetsArray, 74 const InputArrayType& connectivityArray, 75 OutputArrayType& componentsOut) const 72 static void Run(const InputArrayType& numIndicesArray, 73 const InputArrayType& indexOffsetsArray, 74 const InputArrayType& connectivityArray, 75 OutputArrayType& componentsOut) 76 76 { 77 VTKM_IS_ARRAY_HANDLE(InputArrayType); 78 VTKM_IS_ARRAY_HANDLE(OutputArrayType); - Comment on lines -77 to -78
I recommend leaving these in. It's a good idea to use
VTKM_IS_ARRAY_HANDLE
on template arguments that are supposed to be some type ofArrayHandle
for 2 reasons.- It makes it much easier to diagnose problems when the method is used with arguments of the wrong type. If you pass in something other than an
ArrayHandle
, you will get some really weird, really long compile errors. - It is a nice little piece of documentation for people like you and me reviewing this code. It is a succinct way to declare the type of the parameter.
- It makes it much easier to diagnose problems when the method is used with arguments of the wrong type. If you pass in something other than an
changed this line in version 3 of the diff
This merge request has been queued for testing. Test results may be viewed on:
- Gitlab CI builders results can be viewed via the Pipelines for this merge request.
- CDash links are also available in the Pipelines page
- CDash (master)
- Buildbot (master) (only visible from inside Kitware)
Branch-at-master: 2f62e8c2
mentioned in commit e42b1d00
Very coincidentally it seems that the windows build is reporting errors due to this changes https://open.cdash.org/viewBuildError.php?buildid=8101710
mentioned in merge request !2850 (merged)