Robert Maynard
61b1b51577
Make IsType and Cast not error at compile time when given bad types
...
Previously these two functions would give compile errors when asked to
compare against an Array with a different value type. This makes it easier
to write generic code that compares virtual handles.
2018-12-31 13:03:42 -05:00
ayenpure
7ee51f65de
Adding clipping test for volumetric data
...
- Added to detect cases like bug #329
https://gitlab.kitware.com/vtk/vtk-m/issues/329
- This is just to execute the clipping filter with a larger
dataset, and to ensure it can pass without failures and crashes.
2018-12-30 12:36:01 -08:00
ayenpure
f0a342e4d1
Adding fix for Clip failure
...
- Failure reported by Matt Larsen
Bug : https://gitlab.kitware.com/vtk/vtk-m/issues/329
2018-12-29 13:50:43 -08:00
Robert Maynard
c4bf46ecf0
Merge topic 'simplify_unified_memory_example'
...
8ca24baec Update the UnifiedMemory example to properly disable managed memory
718caaaea CudaAllocator allows managed memory to be explicitly disabled
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Allison Vacanti <allison.vacanti@kitware.com>
Merge-request: !1492
2018-12-28 13:41:01 -05:00
Robert Maynard
8ca24baecd
Update the UnifiedMemory example to properly disable managed memory
2018-12-28 11:30:29 -05:00
Robert Maynard
718caaaeac
CudaAllocator allows managed memory to be explicitly disabled
2018-12-28 11:30:29 -05:00
Robert Maynard
448ec29265
Merge topic 'virtual_fancy_handles'
...
19c623bfa Add changelogs for ArrayHandleVirtual and VariantArrayHandle
3445047f9 Refactor vtkm::cont::ArrayHandleAny into vtkm::cont::ArrayHandleVirtual
7a5e32be7 Update VTKmCompilerFlags to suppress stack-size-warnings on CUDA 9+
bef70820c Update new worklets to work with ArrayHandleVariant
1f2abbc9c vtkm::cont::IsType and vtkm::cont::Cast support VariantArrayHandle
acf825b27 Correct IsType and Cast on ArrayHandleVirtual to work on OSX.
7b9fa975f Rename: IsVirtualType to IsValueType.
deb4946a4 Make sure vtk-m libraries under CUDA 8 are always built statically
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1454
2018-12-27 16:31:11 -05:00
Robert Maynard
19c623bfa3
Add changelogs for ArrayHandleVirtual and VariantArrayHandle
2018-12-27 15:42:03 -05:00
Robert Maynard
3445047f9e
Refactor vtkm::cont::ArrayHandleAny into vtkm::cont::ArrayHandleVirtual
...
ArrayHandleVirtual can automatically be constructed from any ArrayHandle.
In the cases where the input ArrayHandle doesn't derived from ArrayHandleVirtual,
it will automatically construct StorageAny to hold the array.
2018-12-27 15:42:03 -05:00
Robert Maynard
7a5e32be73
Update VTKmCompilerFlags to suppress stack-size-warnings on CUDA 9+
...
This will allow better suppression of cuda stack size warnings
for developers and build machines.
2018-12-27 15:42:03 -05:00
Robert Maynard
bef70820c9
Update new worklets to work with ArrayHandleVariant
2018-12-27 14:35:56 -05:00
Robert Maynard
1f2abbc9c4
vtkm::cont::IsType and vtkm::cont::Cast support VariantArrayHandle
2018-12-27 14:35:56 -05:00
Robert Maynard
acf825b279
Correct IsType and Cast on ArrayHandleVirtual to work on OSX.
2018-12-27 14:35:56 -05:00
Robert Maynard
7b9fa975f2
Rename: IsVirtualType to IsValueType.
2018-12-27 14:35:56 -05:00
Robert Maynard
deb4946a41
Make sure vtk-m libraries under CUDA 8 are always built statically
2018-12-27 14:35:56 -05:00
Robert Maynard
9c496e5da0
Correct warning found in ArrayHandleVirtualCoordinates with cuda 8.0
2018-12-27 14:35:56 -05:00
Robert Maynard
78e9cf0929
ArrayRangeCompute now supports ArrayHandleVirtual<vec3f>
2018-12-27 14:35:56 -05:00
Robert Maynard
7eb1e31b11
Remove vtkm::cont::DynamicArrayHandle.
2018-12-27 14:35:56 -05:00
Robert Maynard
0a40c620ac
Rename ArrayHandleVariant to VariantArrayHandle.
2018-12-27 14:35:56 -05:00
Robert Maynard
b138798604
Update examples to work with ArrayHandleVariant/Virtual
2018-12-27 14:35:56 -05:00
Robert Maynard
9ca4d36e28
Update benchmarking to work with ArrayHandleVariant
2018-12-27 14:35:56 -05:00
Robert Maynard
f63be1abe6
Update vtkm/filter to work with ArrayHandleVariant
2018-12-27 14:35:56 -05:00
Robert Maynard
eed321aad0
Update vtkm/worklet to work with ArrayHandleVariant
2018-12-27 14:35:56 -05:00
Robert Maynard
09383ceb52
Update vtkm/rendering to work with vtkm::cont::ArrayHandleVariant
2018-12-27 14:35:56 -05:00
Robert Maynard
39929d5a7c
Update vtkm/io to work with vtkm::cont::ArrayHandleVariant
2018-12-27 14:35:56 -05:00
Robert Maynard
0c72555ee1
Update vtkm/cont/testing to work with ArrayHandleVariant
2018-12-27 14:35:56 -05:00
Robert Maynard
8deb661409
Add serialization support to ArrayHandle Virtual, Any, and Variant.
2018-12-27 14:35:56 -05:00
Robert Maynard
28757bda4b
ArrayHandleVirtual supports comparison operators
2018-12-27 14:35:56 -05:00
Robert Maynard
4c23f50227
ArrayHandleVirtual can be used as AtomicArrayInOut tag type
2018-12-27 14:35:56 -05:00
Robert Maynard
b57dc5d289
Update ArrayHandleVirtual to handle PrepareForInPlace.
2018-12-27 14:35:56 -05:00
Robert Maynard
3c6246140d
ArrayRangeCompute now states it has uniform point coord optimization
2018-12-27 14:35:56 -05:00
Robert Maynard
ef83adf3bd
Field, CoordinateSystem, VirtualCoordinates all use the new virtual code
2018-12-27 14:35:56 -05:00
Robert Maynard
3d67a00822
Add ArrayHandleVariant to vtkm::cont which will replace DynamicArrayhandle
2018-12-27 14:35:56 -05:00
Robert Maynard
90223b390c
Add ArrayHandleAny to vtkm::cont
2018-12-27 14:35:56 -05:00
Robert Maynard
6e1cbaa16a
Add StorageVirtual and ArrayHandleVirtual to vtkm::cont
2018-12-27 14:35:56 -05:00
Robert Maynard
20d02fdec2
Support pointers in vtkm::exec::Fetch classes
2018-12-27 13:19:40 -05:00
Robert Maynard
65b019d443
raytracing intersector kernels use FieldOut where appropriate.
...
Previously a couple used FieldInOut when they only needed FieldOut,
this can help performance if the input is not already on the device
2018-12-27 13:19:40 -05:00
Robert Maynard
7ba3c66727
Make sure rendering builds Actor with cuda as it calls worklets
2018-12-27 13:19:40 -05:00
Robert Maynard
36100311d0
BoundingVolumeHierarchy now uses Invoker to simplify worklet dispatching
2018-12-27 13:19:40 -05:00
Robert Maynard
e31c73ef69
vtkm::cont Locators include all headers they need.
2018-12-27 13:19:40 -05:00
Robert Maynard
181d5f9f30
ArrayHandleZip now gracefully handles writes to implicit handles.
2018-12-27 13:19:40 -05:00
Robert Maynard
2a8f7ec4c7
Fix more build system issues with separable compilation
2018-12-27 13:19:40 -05:00
Sujin Philip
7c27bedc08
Enable Separable Compilation for CUDA
2018-12-27 13:19:40 -05:00
Robert Maynard
ecd6e3684c
Merge topic 'correct_issues_found_in_examples'
...
6e22bb5dc Cosmotools exmaples builds again with the change of vtkm::cont::Initialize
ab3d89d4e Simplify the example/demo CMakeLists.txt
028e954b4 Game Of Life example now supports -d/--device command line argument
e2c61e010 Update the HelloWorld example to use VTK-m runtime device adapter logic
34165c8e7 Correct crashes in the GameOfLife example
cdbee58c1 Remove the dynamic_dispatcher example as is a compiler benchmark
7c2c1d5fb Interop now works when device adapter isn't known.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1491
2018-12-27 13:10:39 -05:00
Robert Maynard
6e22bb5dc6
Cosmotools exmaples builds again with the change of vtkm::cont::Initialize
2018-12-27 11:58:16 -05:00
Robert Maynard
ab3d89d4e3
Simplify the example/demo CMakeLists.txt
2018-12-27 11:57:48 -05:00
Robert Maynard
028e954b41
Game Of Life example now supports -d/--device command line argument
2018-12-27 11:55:26 -05:00
Robert Maynard
e2c61e0100
Update the HelloWorld example to use VTK-m runtime device adapter logic
2018-12-27 11:50:28 -05:00
Robert Maynard
d49f1e8bdb
Merge topic 'maybe_uninitialized_warnings'
...
fcced1347 Correct maybe-uninitialized warnings found from examples
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1490
2018-12-27 11:49:12 -05:00
Robert Maynard
34165c8e75
Correct crashes in the GameOfLife example
2018-12-27 11:47:34 -05:00