Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • VTK-m VTK-m
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 206
    • Issues 206
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTK-mVTK-m
  • Merge requests
  • !791

WIP: True virtual functions

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Kenneth Moreland requested to merge kmorel/vtk-m:true-virtual-functions into master Jun 04, 2017
  • Overview 41
  • Commits 17
  • Pipelines 16
  • Changes 44

This branch changes the behavior of VirtualObjectTransfer to copy a real virtual object from control (sometimes host) to execution (sometimes device) rather then set up a bunch of function pointers to create faux virtual objects. The main reason not to do this in the first place was that calling new on a CUDA device is prohibitively slow, so we need to allocate the data from the host. However, in this branch we still do the allocation from the host and then do a "placement new" on the device that sets up the virtual table (and calls the constructor) using pre-allocated memory. This ultimately requires writing less code to set up these virtual objects.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: true-virtual-functions