Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK-m VTK-m
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 192
    • Issues 192
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 35
    • Merge requests 35
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTK-mVTK-m
  • Merge requests
  • !1697

Create a marching cubes example which corresponds to the documentation stub.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Nick Thompson requested to merge marching_cubes_example into master Jun 13, 2019
  • Overview 10
  • Commits 0
  • Pipelines 2
  • Changes 0

I do hope this is a desired and useful addition to the project which may mitigate the inevitable work involved in getting me up to speed on this codebase.

Note that there is a problem of currently unknown impact:

➜  build_vtkm ./examples/marching_cubes/MarchingCubes
vtk-m/vtkm/exec/serial/internal/TaskTiling.h:291:5: runtime error: call to function void vtkm::exec::serial::internal::TaskTilingSetErrorBuffer<vtkm::worklet::marchingcubes::ClassifyCell<float> const>(void*, vtkm::exec::internal::ErrorMessageBuffer const&) through pointer to incorrect function type 'void (*)(void *, const vtkm::exec::internal::ErrorMessageBuffer &)'
TaskTiling.h:31: note: void vtkm::exec::serial::internal::TaskTilingSetErrorBuffer<vtkm::worklet::marchingcubes::ClassifyCell<float> const>(void*, vtkm::exec::internal::ErrorMessageBuffer const&) defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior vtk-m/vtkm/exec/serial/internal/TaskTiling.h:291:5 in
vtk-m/vtkm/exec/serial/internal/TaskTiling.h:201:5: runtime error: call to function void vtkm::exec::serial::internal::TaskTilingSetErrorBuffer<(anonymous namespace)::ReverseInputToOutputMapWorklet const>(void*, vtkm::exec::internal::ErrorMessageBuffer const&) through pointer to incorrect function type 'void (*)(void *, const vtkm::exec::internal::ErrorMessageBuffer &)'
TaskTiling.h:31: note: void vtkm::exec::serial::internal::TaskTilingSetErrorBuffer<(anonymous namespace)::ReverseInputToOutputMapWorklet const>(void*, vtkm::exec::internal::ErrorMessageBuffer const&) defined here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior vtk-m/vtkm/exec/serial/internal/TaskTiling.h:201:5 in

I have seen this error in every example I've run, so it is not unique to this PR. But this does not mitigate it either.

Edited Jun 13, 2019 by Nick Thompson
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: marching_cubes_example