Commit Graph

327 Commits

Author SHA1 Message Date
Kenneth Moreland
ce338d1484 Add a worklet for copying cell sets 2016-11-22 17:15:10 -07:00
Kenneth Moreland
b175468082 Add RemoveUnusedPoints class
RemoveUnusedPoints contains a couple of worklets and some helper methods
to compact the points in a CellSetExplicit. This is helpful when you
have an operation that creates new cells but might not use all the
original points of the inputs.
2016-11-22 17:11:52 -07:00
Kenneth Moreland
fdaccc22db Remove exports for header-only functions/methods
Change the VTKM_CONT_EXPORT to VTKM_CONT. (Likewise for EXEC and
EXEC_CONT.) Remove the inline from these macros so that they can be
applied to everything, including implementations in a library.

Because inline is not declared in these modifies, you have to add the
keyword to functions and methods where the implementation is not inlined
in the class.
2016-11-15 22:22:13 -07:00
Robert Maynard
8dadf560cd Add in support for vector fields to Gradient worklet. 2016-11-15 18:54:53 -05:00
Robert Maynard
7a52fa3940 Add in Cell Gradient for scalar fields. 2016-11-14 12:52:00 -05:00
Christopher Sewell
f779e8a1bd Removing streaming scan inclusive for now 2016-11-09 15:43:57 -07:00
Christopher Sewell
8a8b409d4c Merge remote-tracking branch 'upstream/master' into StreamingArray 2016-11-09 12:15:58 -07:00
Robert Maynard
ad0593e845 Merge topic 'wavelet2'
35a81df0 change variable names to avoid confusion
b2719157 simplify functions to get the approximation and detail coefficients length
d7e94e3a update 2D idwt to not assign zero to the last element of cDTemp
568bd63f fix a few warnings
514dcf4b see if unused warning shows up
30660bf4 fix comments by Rob
97118931 improved error message when test failing
9b45dba3 fix 2 warnings
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !577
2016-11-08 16:10:15 -05:00
Christopher Sewell
d7ff809716 Attempt to resolve warnings for streaming device adapter algorithms 2016-10-27 11:09:27 -06:00
Kenneth Moreland
622a44339d Add VTK_EXEC_EXPORT to new CellAverage methods
Frankly, I am surprised that the CellAverage worklet compiled on CUDA
when the parenthesis operator relied on methods that were not delcared
as __device__.
2016-10-23 11:51:09 -04:00
Christopher Sewell
b9d8172635 Attempt 14 to resolve Windows compiler warning with streaming storage 2016-10-21 17:31:45 -06:00
Christopher Sewell
93d7956daf Attempt 13 to resolve Windows compiler warning with streaming storage 2016-10-21 16:08:13 -06:00
Robert Maynard
37efba159c CellSetSingleType now can be constructed with proper number of points
This is important so that when we execute a Cell->Point worklet we
don't have to compute the number of points from the connectivity array.
2016-10-20 08:33:16 -04:00
Christopher Sewell
278db37c08 Attempt 2 to resolve Windows compiler warning with streaming storage 2016-10-19 14:44:48 -06:00
Samuel Li
971189313a improved error message when test failing 2016-10-11 07:26:14 -07:00
Samuel Li
8e98eeea6c fixed a few warnings 2016-10-09 22:34:32 -07:00
Samuel Li
548e212e55 2D wavelet compressor ready for Rob to review 2016-10-09 21:52:02 -07:00
Samuel Li
edd93c435a new implementation of 2D transforms pass test 2016-10-09 17:07:49 -07:00
Samuel Li
7eb494895f forward transform now avoids data copy when performing multi-level transforms 2016-10-05 15:52:07 -07:00
Christopher Sewell
58952e1465 Adding streaming reduce 2016-09-29 15:06:34 -06:00
Christopher Sewell
bf9e1366f5 Fixing warning about char* 2016-09-29 14:33:21 -06:00
Christopher Sewell
9e2210927e Adding streaming exclusive scan and fixing bugs with streaming inclusive scan, but still need to make it treat input as const 2016-09-28 18:29:04 -06:00
Samuel Li
edd74febd8 Resolving merge conflicts 2016-09-23 09:27:44 -07:00
Samuel Li
2271751f79 merge request to conclude LANL work 2016-09-22 16:13:50 -07:00
Samuel Li
d19bbfac81 sync to laptop 2016-09-21 20:25:56 -07:00
Samuel Li
093db83474 almost pass all tests, move to Alaska to debug one more case 2016-09-16 19:20:53 -06:00
Christopher Sewell
5f6ff438da Fixing typename issue in UnitTestStreamingSine 2016-09-15 18:30:50 -06:00
Christopher Sewell
d92f39df12 Merge branch 'master' into StreamingArray 2016-09-15 17:54:59 -06:00
Christopher Sewell
610f96a831 Adding streaming inclusive scan 2016-09-15 17:46:09 -06:00
Samuel Li
32fb705c2c sync test program 2016-09-13 19:53:17 -07:00
Samuel Li
a045a767fa sync to use gdb 2016-09-13 13:10:38 -06:00
Kenneth Moreland
5455608c69 Remove boost::shared_ptr from rendering library
The remove boost::shared_ptr and the rendering library branches where
developed simultaneously, and thus some of the rendering library
implementation was using boost::shared_ptr like the old code. Bring up
to date with the rest of VTK-m by using std::shared_ptr instead.
2016-09-12 11:08:06 -06:00
Samuel Li
7e756e3a5a move to linux to debug 2016-09-11 16:14:01 -06:00
Samuel Li
a196e9b42d timer tweak 2016-09-06 15:54:12 -07:00
Samuel Li
a07e6ab71e fix a bug, run final tests 2016-09-06 14:28:46 -07:00
Samuel Li
42a80662d8 finish 2D re-write. Some tests pass and some others fail. Need to keep debugging 2016-09-05 19:52:35 -06:00
Samuel Li
02cede6937 need to change IDWTHelper API a little bit 2016-09-01 18:47:50 -06:00
Samuel Li
c4387bb71c need to debug a memory problem 2016-08-31 16:03:25 -06:00
Samuel Li
858895d3c8 Extend2D passes initial test, need to test more. 2016-08-26 14:51:23 -06:00
Samuel Li
4bda2f3042 one left extend worklet works correct 2016-08-26 10:54:47 -06:00
Samuel Li
87e80fc9c0 Merge branch 'master' into wavelet2 2016-08-24 15:53:52 -06:00
Samuel Li
f9dc98d0e6 add timers to report worklet computation time 2016-08-23 17:52:40 -06:00
Samuel Li
c5613b2cbb optimized a few worklets 2016-08-23 08:56:03 -07:00
Samuel Li
ec185e3ade WaveletFilter now stores array handles, so less data transfer between host and device 2016-08-22 14:28:29 -07:00
Samuel Li
daa80669f2 get rid of many small memory transfers 2016-08-22 13:49:13 -07:00
Samuel Li
553e396c6e 2D decompose/reconstruct seem to work well 2016-08-22 10:13:45 -06:00
Robert Maynard
ce3c7f64b5 Merge topic 'clip_restructure'
af05ea0e Cleanup clipping so we can use it from a filter.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !508
2016-08-22 09:56:21 -04:00
Samuel Li
165199c890 keep fighting on compiler errors 2016-08-21 23:10:05 -06:00
Christopher Sewell
e3858cb047 Eliminating more warnings in streaming sine unit test 2016-08-19 14:48:51 -06:00
Christopher Sewell
2855512962 Adding ArrayHandleStreaming to CMake and fixing warnings 2016-08-19 13:47:44 -06:00