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
Kenneth Moreland
8cdf2aa7e5
Merge branch 'msvc-warnings' into 'master'
...
Fix MSVC warnings
Fix your typical batch of MSVC warnings including picky type conversions
and using "unsafe" std functions on pointers for iterators.
See merge request !333
2016-01-27 13:02:15 -05:00
mclarsen
5b705a5239
Fixing return value for void function
2016-01-27 08:07:20 -08:00
Kenneth Moreland
f4e4dc9ebe
Use serial device for copies in DataSetBuilderRectilinear
...
A previous change used the Copy method of DeviceAdapterAlgorithm to
perform the actual copy in the CopyInto method. This works fine, except
that it uses the default device adapter, and the default device adapter
may need to copy the data to the device just to copy it to another
array. Instead, use the serial device adapter, which is guaranteed to
only perform one copy of the data.
2016-01-27 08:45:29 -07:00
Kenneth Moreland
0731bd4a53
Fix compiler error about difference_type
...
Whoops. Pointers are not classes and do not have a difference_type
member. You have to get that from iterator_traits. I'm not sure why this
succeeded on MSVC, but it was clearly wrong.
2016-01-26 17:09:10 -07:00
Kenneth Moreland
cadf0e53ab
Fix MSVC warnings
...
Fix your typical batch of MSVC warnings including picky type conversions
and using "unsafe" std functions on pointers for iterators.
2016-01-26 16:23:00 -07:00
Robert Maynard
2e97c2bc40
Merge topic 'correct_cuda_runtime_crashes'
...
821096cf Perform necessary copies when deducing a worklets parameters.
bd3d2957 Fix ArrayPortalFromThrust to re-enable texture memory fast path.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !331
2016-01-26 17:01:57 -05:00
Robert Maynard
b09fb3edf5
Merge topic 'update_interop_to_use_CopyInto'
...
711b7122 Remove warnings from CopyInto with MSVC.
763691a7 Update TransferToOpenGL to use ArrayHandle::CopyInto.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !328
2016-01-26 16:07:23 -05:00