vtk-m/vtkm
Kenneth Moreland 77f9ae653d Support ArrayHandleSOA only for Vec value types
Previously, `ArrayHandleSOA` worked with any value type that supported
`VecTraits`. That means that `ArrayHandleSOA` worked with scalar types
like `Float32`. However, for scalar types, the behavior is essentially
the same as `ArrayHandleBasic`, but with lots of extra templating and
code generation.

Although there is nothing _wrong_ with allowing `ArrayHandleSOA` holding
a scalar, there is no real reason to either (other than likely template
convenience). Generally, there is nothing wrong with supporting it, but
if you want to support `ArrayHandleSOA` in places where types are not
known (e.g. `Field`), then templating tends to iterate over the cross of
all supported types with all supported storage. That means such code
will automatically generate a bunch of code for `ArrayHandleSOA` with
scalars even if there is no reason for those code paths.

So, we can just disable the use of `ArrayHandleSOA` with scalars to
allow us to use `ArrayHandleSOA` as a default storage without creating
all these useless code paths.
2021-01-06 13:20:58 -07:00
..
cont Support ArrayHandleSOA only for Vec value types 2021-01-06 13:20:58 -07:00
exec Revert change the removes printing of seed. 2020-11-18 11:03:19 -05:00
filter Correct CMake checking for targets before creation 2020-12-30 12:42:51 -05:00
internal Merge topic 'expand_kokkos_device_to_support_hip' 2020-12-16 08:58:17 -05:00
interop Update vtkm/interop to use non-deprecated make_ArrayHandle API 2020-08-03 12:15:16 -04:00
io Correct CMake checking for targets before creation 2020-12-30 12:42:51 -05:00
random
rendering Move test_equal_* classes to top namespace 2020-12-22 13:46:02 -07:00
source Reverse Invoker, Dispatcher and Worklet dependency 2020-07-21 17:25:43 -06:00
testing Print TestEqualResult messages in VTK_TEST_ASSERT 2020-12-22 17:17:10 -07:00
thirdparty Merge branch 'upstream-lcl' into update_thirdparty_for_hip_support 2020-10-28 14:21:28 -04:00
worklet Move test_equal_* classes to top namespace 2020-12-22 13:46:02 -07:00
.gitattributes
Algorithms.h vtkm/Algorithms now can do device side HIP algorithms 2020-10-20 09:24:05 -04:00
Assert.h Disable VTKM_ASSERT when using HIP 2020-09-25 11:06:57 -04:00
Atomic.h Change interface of atomic compare and swap 2020-10-20 08:39:22 -06:00
BinaryOperators.h
BinaryPredicates.h
Bitset.h
Bounds.h
CellClassification.h
CellShape.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
CellTraits.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
CMakeLists.txt Add VecFlat class 2020-12-16 17:22:44 -07:00
Deprecated.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
ErrorCode.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Flags.h
Geometry.h
Geometry.hxx Update vtkm/Geometry.hxx to follow clangs rules on function markup 2020-09-25 09:37:46 -04:00
Hash.h
ImplicitFunction.h Add Kokkos backend 2020-08-12 13:55:24 -04:00
List.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
ListTag.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Math.h Don't use HIP overloads for std::min 2020-12-28 13:29:32 -05:00
Math.h.in Don't use HIP overloads for std::min 2020-12-28 13:29:32 -05:00
Matrix.h
NewtonsMethod.h
Pair.h
Particle.h Add support for ghost cells in particle advection. 2020-10-19 16:46:48 -04:00
Range.h
RangeId2.h
RangeId3.h
RangeId.h
StaticAssert.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Swap.h vtkm/Swap works with hip 2020-10-22 15:32:06 -04:00
TopologyElementTag.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Transform3D.h
Tuple.h
Tuple.h.in
TypeList.h Make sure all C scalar types are in TypeListScalarAll 2020-11-12 16:18:56 -07:00
TypeListTag.h
Types.h Make sure all C scalar types are in TypeListScalarAll 2020-11-12 16:18:56 -07:00
TypeTraits.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
UnaryPredicates.h
VecAxisAlignedPointCoordinates.h Add VecFlat class 2020-12-16 17:22:44 -07:00
VecFlat.h Fix warning in VecFlat 2020-12-17 13:39:02 -07:00
VecFromPortal.h
VecFromPortalPermute.h
VecFromVirtPortal.h
VectorAnalysis.h
VecTraits.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
VecVariable.h Generalize fields for particle advection 2020-07-20 21:15:46 -04:00
Version.h.in
VirtualObjectBase.h