nadavi
fbcea82e78
conslidate the license statement
2019-04-17 10:57:13 -06:00
Robert Maynard
30aedf287f
Refactor the design of CellLocator::PrepareForExecution
...
The try execute functor now doesn't need to be a member of the
class. This helps with the separation of concerns.
2019-04-04 13:17:49 -04:00
Sujin Philip
ee838b8296
Stylistic changes to CellLocators to match VTK-m
2019-04-02 11:21:12 -04:00
Robert Maynard
18ff6681fb
Less vtkm_cont cxx files bring in the cuda device
...
When you have CUDA enabled we need to make sure that all worklet
launches come from a cuda file otherwise we will generate ODR
violations.
2019-04-01 08:21:07 -04:00
Kenneth Moreland
0af017b038
Move virtual methods of other CellLocators to vtkm_cont
...
These changes caused some warnings in clang to show up based on virtual
methods in other cell locators. Hence, the rest of the cell locators
have also had some of their code moved to vtkm_cont.
2019-03-20 17:38:50 -06:00
Kenneth Moreland
e87864b0e3
Put CellLocatorBoundingIntervalHierarchy in vtkm_cont library
...
All of the methods in CellLocatorBoundingIntervalHierarchy were listed in
header files. This is sometimes problematic with virtual methods. Since
everything implemented in it can just be embedded in a library, move the
code into the vtkm_cont library.
2019-03-20 17:33:08 -06:00
Dave Pugmire
e7066ad94b
compiler errors.
2019-03-15 14:46:25 -04:00
Dave Pugmire
de7d9cc27b
fix compile errors, remove cudastack hacks.
2019-03-15 13:40:48 -04:00
Robert Maynard
a6258b63cf
Revert BoundingIntervalHierarchy.hxx back into existence.
2019-03-06 14:08:35 -05:00
Dave Pugmire
71f000465b
fix compiler warning.
2019-01-31 15:41:56 -05:00
Abhishek Yenpure
afd0409189
Merge topic 'code_sprint_locator_fixes'
...
9b56d41fe Fixing Rectilinear Grid Cell Locator
10e9d47dc Removing std::out print statement from test
34c7b57d8 Merge branch 'code_sprint_locator_fixes' of gitlab.kitware.com:ayenpure/vtk-m into code_sprint_locator_fixes
62ee1a2c8 Updates to the Cell Locators
7eb0de5b7 Merge branch 'code_sprint_locator_fixes' of gitlab.kitware.com:ayenpure/vtk-m into code_sprint_locator_fixes
866b0798d Resolving type warnings
c062f2e26 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into code_sprint_locator_fixes
797c83891 Adding default constructor and removing wrong comment
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1395
2019-01-09 16:23:17 -05:00
Robert Maynard
e31c73ef69
vtkm::cont Locators include all headers they need.
2018-12-27 13:19:40 -05:00
ayenpure
b56d1789b0
Fixing Point Locator interface.
...
- Fixing the point locator interface to make it consistent with the CellLocator
interface
2018-08-29 19:26:37 -07:00
Robert Maynard
554bc3d369
At runtime TryExecute supports a specific deviceId to execute on.
...
Instead of always using the first enabled device, now TryExecute
can be told which device at runtime to use.
2018-08-07 17:22:18 -04:00
Robert Maynard
14824bd42e
Make sure people always treat DeviceAdapterId as a proper type
2018-07-25 11:00:06 -04:00
ayenpure
ebdad45d44
Removing VTKM_CONT_EXPORT for the CellLocator
2018-06-30 07:09:41 -06:00
Abhishek Yenpure
dcbb444a74
Warning fixes for BoundingIntervalHierarchy
...
- Adding VTKM_CONT_EXPORT to CellLocator
- Removing whitespaces
- Fixing warnings of unused typedef
2018-06-29 14:51:50 -06:00
Abhishek Yenpure
72d4556f7d
Adding changes for Ken's review from GitLab
...
- Reducing the stack allocation for CUDA for the BIH unit test
- Adding changes from Ken's review
- Suppress ptxas stack size warning for BoundingIntervalHierarchy
2018-06-27 22:40:13 -06:00
ayenpure
7a122f23b4
Fixing Problems with Locators
...
-Fix missing copyright statements
-Updating the PointLocator interface
-Updating the Cell Locator unit test to use less memory and finish early
2018-06-24 14:55:11 -06:00
ayenpure
bfb30fb468
Using VirtualObjectHandle for vtkm::exec::CellLocator
...
- Changing the name PrepareForExecutionOnDevice to PrepareForExecutionImpl
- Adding changes suggested by Ollie and Ken to return the execution object
from PrepareForExecutionImpl using VirtualObjectHandle
- Updating PrepareForExecutionFunctor
2018-06-23 17:09:29 -06:00
ayenpure
671987148f
Adding working implementation of BIH with test
...
- Uses smart pointers
- need to get rid of them
2018-06-13 15:08:15 -07:00
ayenpure
61fdfac710
Adding updated CellLocator / PointLocator APIs
...
- Adding API files
- Adding back Manish's BoundingIntervalHierarchy search structure
- Updating CMakeLists.txt to accomodate these changes
- Adding the old test file from Manish - won't build for now
2018-06-04 20:04:38 -07:00
ayenpure
18579394ed
Moving Files for proper CellLocator/PointLocator APIs
...
-Changing the existing CellLocator.h to CellLocatorHelper.h,
it's used by CellLocatorTwoLevelUniformGrid.h
-Changing unit tests and worklets that use CellLocator.h to use CellLocatorHelper.h
2018-06-04 19:51:54 -07:00
Allison Vacanti
93506d25e2
Change function signatures to use 'using' aliases.
...
Also cleaned up some lingering type typedefs.
2018-05-25 17:18:41 -04:00
Sujin Philip
9e466f8cd2
Merge topic 'add-probe'
...
34bae569 Add Probe worklet and filter
4cd306ea Fix a bug in CellLocator
cf1957ca Add make_VecFromPortalPermute
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1064
2018-01-30 15:08:49 -05:00
Sujin Philip
b5f71644fe
Add IsType to ArrayHandleVirtualCoordinates
...
Makes the interface compatible with DynamicArrayHandle.
2018-01-25 11:02:52 -05:00
Sujin Philip
4cd306ea2c
Fix a bug in CellLocator
...
Cell dimension for structured data is computed by subtracting Point dimensions
by vtkm::Id3(1). This fix prevents a dimension component from being less than
1 for 2D and 1D cases.
2018-01-19 10:48:39 -05:00
Sujin Philip
8f78aa739d
Add CellLocator
...
Add a general cell locator that has an optimized path for uniform grid
datasets and uses CellLocatorTwoLevelUniformGrid for all other
dataset types.
2018-01-12 10:16:26 -05:00