Robert Maynard
40896e2bab
Allocate the scatter arrays to be proper length.
...
The previous code would over allocate all the scatter arrays since
it was computing the output range, than using that as the input range.
2016-03-15 13:13:34 -04:00
Robert Maynard
e9040745e0
Merge topic 'functorbase_proper_constructor'
...
8683240b vtkm::exec::FunctorBase now properly initializes ErrorMessageBuffer.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !358
2016-03-14 17:44:58 -04:00
Robert Maynard
af3c942e69
Merge topic 'implicit_function_wrong'
...
06424786 Correct implicit function test failures when vectorization is enabled.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !356
2016-03-14 17:44:47 -04:00
Robert Maynard
8683240b85
vtkm::exec::FunctorBase now properly initializes ErrorMessageBuffer.
2016-03-14 16:57:35 -04:00
Robert Maynard
62dd5e6a2a
Merge topic 'proper_atomics_with_serial_device'
...
ee4e490f Moved SMP atomic operations from TBB to General.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !357
2016-03-14 16:56:23 -04:00
Robert Maynard
0642478668
Correct implicit function test failures when vectorization is enabled.
...
When vectorization is enabled we start using 'fast' math, and therefore instead
of getting perfect 0.0 values we get values that are extremely close to zero.
2016-03-14 15:56:27 -04:00
Robert Maynard
ee4e490f1d
Moved SMP atomic operations from TBB to General.
...
Even when running with the serial backend, the compiler might enable SIMD
vectorization when optimizations are turned on. When this occurs, we need
to use properly atomic Add's and CAE's.
2016-03-14 10:40:42 -04:00
Robert Maynard
f01fd68b7e
DataSetBuilderUniform now builds when the float default is double.
2016-03-14 10:36:13 -04:00
Robert Maynard
5b6676d21f
Merge topic 'feature/atomics'
...
5ddade7a Adding some basic documentation on atomics.
e5c4aa3f Fixing cuda index error
00a7f6c1 Correcting function call
249cce35 Adding type restrictions to serial atomics
43131ee0 Adding comments about CAS
40b6db7e Inserted missing ,
3b46706e Adding compare and swap and removing unsigned atomics
12632de3 Casting Uint64 to long long
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !336
2016-03-11 13:49:38 -05:00
Robert Maynard
55280637f8
Correct the VTKM_THIRDPARTY_PRE_INCLUDE/POST_INCLUDE for MSVC.
...
We now properly suppress a collection of warnings from thirdparty headers on
windows.
2016-03-11 09:59:49 -05:00
Robert Maynard
8c579b7742
Setup VTKM_THIRDPARTY_PRE_INCLUDE/POST_INCLUDE for MSVC.
...
We now suppress a collection of warnings from thirdparty headers on windows.
2016-03-10 13:31:21 -05:00
Matt Larsen
5ddade7a44
Adding some basic documentation on atomics.
2016-03-09 14:29:59 -05:00
Matt Larsen
e5c4aa3f78
Fixing cuda index error
2016-03-08 12:41:11 -08:00
Matt Larsen
00a7f6c14b
Correcting function call
2016-03-08 12:04:55 -08:00
Matt Larsen
249cce352b
Adding type restrictions to serial atomics
2016-03-08 10:39:23 -08:00
Matt Larsen
43131ee02b
Adding comments about CAS
2016-03-08 09:58:20 -08:00
Matt Larsen
40b6db7eee
Inserted missing ,
2016-03-08 09:51:50 -08:00
Matt Larsen
3b46706e1f
Adding compare and swap and removing unsigned atomics
2016-03-08 09:41:02 -08:00
Matt Larsen
12632de34b
Casting Uint64 to long long
2016-03-04 15:17:56 -08:00
Matt Larsen
ecc12dddb7
using reinterpret cast and removing warning from atomic array test
2016-03-04 14:46:45 -08:00
Matt Larsen
72f2549bb9
Removing shadow variable
2016-03-04 12:12:25 -08:00
Matt Larsen
f3c7f188ee
Fixing problem with function signatures matching long * to int *
2016-03-04 11:52:52 -08:00
Matt Larsen
733edc8325
changing MS method signatures to long instead of int
2016-03-04 11:13:53 -08:00
Matt Larsen
47452d82bc
fixing typo
2016-03-04 10:49:43 -08:00
Matt Larsen
6d63961311
Misplaced bracket
2016-03-04 10:42:07 -08:00
Matt Larsen
da66ea6a15
Refactoring TBB atomics
2016-03-04 10:18:35 -08:00
Matt Larsen
e8b08f2e00
Merge branch 'master' into feature/atomics
2016-03-04 08:03:33 -08:00
Matt Larsen
f0f8f0b556
attempt 6
2016-03-03 23:36:21 -05:00
Matt Larsen
5df9088e1d
Adding volatile
2016-03-03 23:13:26 -05:00
Matt Larsen
25604a0288
Another typo
2016-03-03 22:46:15 -05:00
Matt Larsen
4a28124658
Fixing typo
2016-03-03 22:17:29 -05:00
Matt Larsen
29ca4f38f6
Attempting type match
2016-03-03 19:42:35 -05:00
Matt Larsen
1448d0d3b4
Adding another typename
2016-03-03 16:04:04 -05:00
Matt Larsen
23e801da55
Adding typename
2016-03-03 15:34:44 -05:00
Matt Larsen
f0c20903b3
Sorting out iterator type
2016-03-03 15:30:28 -05:00
mclarsen
78888e6542
Testing Interlock exchange
2016-03-02 13:53:28 -08:00
Robert Maynard
7ca13aa9cd
Merge topic 'add_missing_return_statement_to_ArrayHandleGroupVec'
...
230e651d Add missing return statement to ArrayHandleGroupVec
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !348
2016-02-26 15:02:59 -05:00
Robert Maynard
7c84e32835
Merge topic 'correct_namespace_for_ChooseCudaDevice'
...
2f98cdf7 Resolves Issue #56 : ChooseCudaDevice functions are in the proper namespace.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !347
2016-02-26 14:38:17 -05:00
Robert Maynard
230e651d1b
Add missing return statement to ArrayHandleGroupVec
2016-02-26 14:26:22 -05:00
Robert Maynard
2f98cdf717
Resolves Issue #56 : ChooseCudaDevice functions are in the proper namespace.
2016-02-26 13:51:28 -05:00
Robert Maynard
9f687a64f3
Derived CellSetExplicit classes can now modify the incremental build state.
2016-02-24 08:38:11 -05:00
Robert Maynard
f53c8af170
Merge topic 'vtk_vtkm_idtype_matching'
...
4a7085f4 Update VecTraits/TypeTraits to include types that VTK uses.
8820c0fb Make sure vtk and vtkm types match when long and long long are both 8bytes.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !339
2016-02-23 16:10:30 -05:00
Robert Maynard
bb90493920
Resolves Issue 52, we now install all vtkm files correctly.
2016-02-22 14:20:35 -05:00
Robert Maynard
4a7085f415
Update VecTraits/TypeTraits to include types that VTK uses.
2016-02-22 14:20:25 -05:00
Robert Maynard
8820c0fbc8
Make sure vtk and vtkm types match when long and long long are both 8bytes.
...
Previously vtk would use long long and vtkm would use long, which would
cause nightmares when trying to do zero copy between the two libraries.
2016-02-22 14:20:25 -05:00
mclarsen
ca37b2e9cb
Fixed compiler error with atomics
2016-02-10 08:21:38 -08:00
Matt Larsen
2baac9cd8b
initial commit of atomic adds
2016-02-10 07:51:31 -08:00
Robert Maynard
7161baacd1
Merge topic 'more_cellset_dimensionality_docs'
...
3f2c68a4 Finish writing the comment explaining what GetDimensionality values mean.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !335
2016-02-03 14:16:19 -05:00
Robert Maynard
3f2c68a4d6
Finish writing the comment explaining what GetDimensionality values mean.
2016-02-03 13:35:10 -05:00
Robert Maynard
07d299209e
Merge topic 'fix/ExecutionWholeArray'
...
5b705a52 Fixing return value for void function
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !334
2016-01-27 15:57:40 -05:00