Commit Graph

7536 Commits

Author SHA1 Message Date
Dave Pugmire
1941c455f1 Add some more tests for regular data sets. 2015-05-18 11:04:15 -04:00
Kenneth Moreland
f514a9c72a Merge branch 'msvc-problems' 2015-05-18 07:39:17 -06:00
Kenneth Moreland
0011e9d809 Check that appropriate exception thrown in UnitTestDispatcherBase. 2015-05-18 07:38:52 -06:00
Kenneth Moreland
4276b0cdcb Fix warning about uninitialized object
It is not important for this test, but we might as well make the
compiler happy.
2015-05-17 18:32:07 -06:00
Kenneth Moreland
97847fb9f4 Fix warning about converting between an int and a float. 2015-05-17 18:29:35 -06:00
Dave Pugmire
97844f6ca2 added cell to node code. 2015-05-15 16:22:00 -04:00
Dave Pugmire
ee45766c01 Don't use Extents and just use an array of Id in regular connectivity/structure 2015-05-15 15:40:25 -04:00
Dave Pugmire
5ddc1230bd Make regular conn/struct cont and export. Update other files to reflect the changes. 2015-05-15 15:29:55 -04:00
Jeremy Meredith
6816ec4293 updating reg struct usage in cell set 2015-05-15 13:15:11 -04:00
Dave Pugmire
3343f92c11 re-do commmit. 2015-05-15 12:03:52 -04:00
Dave Pugmire
138807a312 Tweaks to RegularStructure and RegularConnectivity. Moved RegularStructure to a separate file. Added some more unit testing. 2015-05-15 12:00:27 -04:00
Jeremy Meredith
8124814a83 moving to purely compile time check with a compile time error for missing specialization. 2015-05-14 17:19:55 -04:00
Jeremy Meredith
8fab33a42b different approach for get indices. 2015-05-14 16:26:59 -04:00
Jeremy Meredith
e65b8ac464 adding topology template parameters. 2015-05-14 16:18:30 -04:00
Dave Pugmire
83753a8ac0 fix typo. 2015-05-14 16:10:17 -04:00
Dave Pugmire
5392207735 Merge branch 'datamodel-design' of public.kitware.com:vtkm into datamodel-design 2015-05-14 16:08:43 -04:00
Dave Pugmire
ad93bbb353 1,2,3D fixes 2015-05-14 16:08:28 -04:00
Jeremy Meredith
9768070aed fixing problems with cuda build. 2015-05-14 15:59:37 -04:00
Robert Maynard
e38caafe37 Adding Reduce with custom operator to the DeviceAdapterAlgorithm. 2015-05-14 15:16:49 -04:00
Robert Maynard
5d9f369d0c Adding ScanInclusive with custom binary operator to DeviceAdapterAlgorithm. 2015-05-14 15:16:49 -04:00
Robert Maynard
9519737b3a Adding Reduce to the DeviceAdapterAlgorithm. 2015-05-14 15:16:49 -04:00
Robert Maynard
fbee20fc03 Mark the local value for the result of GetNumberOfValues as const.
We aren't modifying the value, so no reason to not have it as const.
2015-05-14 15:16:48 -04:00
Dave Pugmire
312f026e4c Merge branch 'datamodel-design' of public.kitware.com:vtkm into datamodel-design 2015-05-14 12:23:33 -04:00
Dave Pugmire
f35f0e0e56 Add regularStructure and modify regularconnnectivity 2015-05-14 12:22:39 -04:00
Kenneth Moreland
84ea9b8490 Merge branch 'exec-object-fix' 2015-05-14 10:20:20 -06:00
Kenneth Moreland
c83b585b14 Fix ExecObject tag in WorkletBase
The ExecObject tag for the ControlSignature was not declared right so
would cause a compile error if it was ever used. Clearly this was not
being tested properly, so the dispatcher base unit test now passes an
ExecObject parameter.
2015-05-13 18:44:44 -06:00
Kenneth Moreland
4afb6fe5ff Merge branch 'constant-array-handle' 2015-05-13 14:25:23 -06:00
Kenneth Moreland
d77342a7c6 Add ArrayHandleConstant 2015-05-13 14:24:51 -06:00
Robert Maynard
4086119f0e Correct propagation of const types where they don't make sense. 2015-05-13 13:25:55 -04:00
Robert Maynard
dd9754e5d7 Update ReadMe to reference gitlab. 2015-05-13 08:45:52 -04:00
Robert Maynard
c56b9602f5 Add some whitespace to make the class easier to read. 2015-05-12 16:00:40 -04:00
Robert Maynard
bcda989641 Correct issues with using function level statics.
You can use function level statics, but instead you must use class level
statics, this is due to how nvcc treats method statics as being shared
across all threads in a warp.
2015-05-12 15:58:53 -04:00
Robert Maynard
269ac3a8af Add in the MapTopologyExplicit worklet test.
Currently only works on serial backend.
2015-05-12 15:42:48 -04:00
Robert Maynard
eb19501772 Actually verify the contents of the datasets. 2015-05-12 14:59:18 -04:00
Robert Maynard
7c95b314b9 Allow user to get number of cellsets and number of fields. 2015-05-12 14:57:32 -04:00
Robert Maynard
026018a82a Make CellSetStructured inherit from CellSet. 2015-05-12 14:57:18 -04:00
Robert Maynard
cc1f4e37d2 Split the Explicit and Regular grid cont tests into two separate tests. 2015-05-12 14:42:43 -04:00
Jeremy Meredith
9c4bd54424 getting exec version of connectivity working 2015-05-12 12:50:30 -04:00
Dave Pugmire
959bd0a9a8 add explicit connectivity code for exec side. 2015-05-12 12:13:43 -04:00
Jeremy Meredith
9ff5832909 adding wrapper for exec connectivity. 2015-05-12 09:39:00 -04:00
Jeremy Meredith
8a382f138a fleshing out cell set and data set more. 2015-05-11 16:54:16 -04:00
Jeremy Meredith
ed5ddc849e completing field. 2015-05-11 16:15:58 -04:00
Jeremy Meredith
b2fdff2873 Merge branch 'master' into datamodel-design 2015-05-11 15:14:08 -04:00
Robert Maynard
59618b3a50 Merge branch 'sort_by_key' 2015-05-11 08:04:09 -04:00
Robert Maynard
ca0d1ade55 Merge branch 'test_permutation_as_output' 2015-05-08 15:32:37 -04:00
Robert Maynard
1bafa94194 Verify the permutation handle can be used as output on all devices 2015-05-08 15:32:06 -04:00
Kenneth Moreland
9db8483b5a Merge branch 'msvc-warnings' 2015-05-08 10:55:24 -06:00
Kenneth Moreland
dd897c0565 Remove template parameter for IncrementBy2
THe IncrementBy2 test type previously allowed any subtype including
floating point numbers. The meaning of this is actually a little unclear
and the feature was causing implicit type conversion warnings that were
hard to template out. The utility of of templating this class is dubious
in the first place, so class is now a fixed type.

I'm a little unsure whether we should keep this test class at all. It's
math operations are ad hoc and it could be difficult to determine if a
problem is caused by an actual problem or just bad math operators.
2015-05-08 10:53:28 -06:00
Kenneth Moreland
209053b79e Fix issues with implicitly converting ints to floats
MSVC complains that converting a 32-bit int to a 32-bit float could
cause loss of precision.
2015-05-08 10:33:59 -06:00
Kenneth Moreland
b2e39ad895 Merge branch 'type-conversions' 2015-05-07 16:37:17 -06:00