Commit Graph

25 Commits

Author SHA1 Message Date
Kenneth Moreland
29973facf1 Merge branch 'config-file' 2014-05-27 19:58:02 -06:00
Kenneth Moreland
f157453e0e Create and install CMake configure files for external projects. 2014-05-22 15:20:41 -06:00
Robert Maynard
085524f7ea Merge branch 'WindowsSupport' 2014-05-19 14:40:19 -04:00
Robert Maynard
763949351f Stop trying to align vtkm types. Read the full comments on why.
Using alignment on basic types when vtkm only targetted Linux/BSD/OSX was
'okay' because of how the alignment operators worked, but potential was going
to cause issues in the long run if we failed to detect the correct size and the
compiler was than forced to not use intrinsics.

Now with adding windows support we have run into another problem. Basically
using an alignment operator on a typedef means that the type must never
be passed by value, but must always be passed by reference. The reason for
this is that passing by value doesn't respect alignment requirements, and
can cause very subtle errors or crashes.

A really good read for people more interested in these problems:

http://eigen.tuxfamily.org/dox/group__TopicPassingByValue.html
http://eigen.tuxfamily.org/dox-devel/group__DenseMatrixManipulation__Alignement.html
2014-05-19 14:27:37 -04:00
Robert Maynard
552a8ab160 Work around windows.h clobbering GetMessage.
windows.h uses a macro to forward GetMessage to GetMessageA or
GetMessageW, so to work around that we do the same on windows.
2014-05-19 14:23:30 -04:00
Robert Maynard
1ef967a426 Correct the option parser on windows.
You can't include headers inside namespaces.
2014-05-19 14:20:59 -04:00
Robert Maynard
ec2032e1d3 Correc the rest of the alignmnet issues. 2014-05-19 14:20:52 -04:00
Robert Maynard
40c579f119 Correcting alignment issues so we compile on windows. 2014-05-19 13:17:04 -04:00
Robert Maynard
c008213561 Merge branch 'astyle_applied' 2014-03-07 10:22:51 -05:00
Robert Maynard
2b7a0e0490 revise the header guard naming convention to not conflict with macro names. 2014-03-07 10:22:36 -05:00
Robert Maynard
f2552645e0 Merge branch 'astyle_applied' 2014-02-11 16:21:08 -05:00
Robert Maynard
5b8bec5ecd Merge branch 'add_serial_deviceAdapter' 2014-02-11 16:21:02 -05:00
Robert Maynard
c80fb9259f Update the initial repository to use the correct indentation style. 2014-02-11 16:20:30 -05:00
Robert Maynard
262f07c9b0 Properly name the VTKm CMakeFiles. 2014-02-11 14:56:03 -05:00
Robert Maynard
c2101b8ffc Add in a serial device adapter and required supporting classes.
We now can verify that the array handle is usable by a device adapter.
2014-02-11 12:34:56 -05:00
Robert Maynard
6466da1a11 Merge branch 'add_arrayHandle' 2014-02-10 15:02:08 -05:00
Robert Maynard
a94abd7a71 Add in the minimum part of the control env to have a testable array handle. 2014-02-10 15:00:17 -05:00
Robert Maynard
24f561f0fe Add testing support to vtkm, and add tests for primitive types. 2014-02-10 15:00:17 -05:00
Robert Maynard
c07301a993 Add in primitive types to vtkm (Id, Scalar, Tuple).
This includes the configure scripts to setup if you want a 32bit or
64bit build.
2014-02-10 15:00:17 -05:00
Robert Maynard
ad0bc83320 Add in the basic CMake Infrastructure required for vtkm. 2014-02-10 15:00:17 -05:00
Robert Maynard
f1de2ebae2 Add a license to vtkm. 2014-02-10 15:00:17 -05:00
Robert Maynard
c00d01be6f Move documents into a directory, instead being in the repos root. 2014-02-10 14:01:22 -05:00
Robert Maynard
3ddb07318b Add in the coding conventions that we will use. 2014-02-07 11:02:55 -05:00
Robert Maynard
078323cf69 some rough notes on design choices we are making. 2014-02-07 11:02:50 -05:00
Robert Maynard
c138d6cd82 Initial commit. 2014-02-04 15:08:03 -05:00