Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jayesh Badwaik
VTK-m
Commits
efbde1d5
Commit
efbde1d5
authored
May 18, 2017
by
Kitware Robot
Committed by
Ben Boeckel
May 18, 2017
Browse files
clang-format: sort include directives
parent
95da0c9c
Changes
246
Hide whitespace changes
Inline
Side-by-side
CMake/VTKmDetectCUDAVersion.cu
View file @
efbde1d5
...
...
@@ -19,9 +19,9 @@
// this software.
//
//=============================================================================
#include <cstdio>
#include <cuda.h>
#include <cuda_runtime.h>
#include <cstdio>
int
main
()
{
int
count
=
0
;
...
...
examples/clipping/Clipping.cxx
View file @
efbde1d5
...
...
@@ -29,8 +29,8 @@
#include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
#include <stdexcept>
#include <string>
typedef
vtkm
::
Vec
<
vtkm
::
Float32
,
3
>
FloatVec3
;
...
...
examples/demo/Demo.cxx
View file @
efbde1d5
...
...
@@ -18,19 +18,19 @@
// this software.
//============================================================================
#include <vtkm/cont/DeviceAdapter.h>
#include <vtkm/cont/testing/MakeTestDataSet.h>
#include <vtkm/cont/testing/Testing.h>
#include <vtkm/rendering/Actor.h>
#include <vtkm/rendering/CanvasRayTracer.h>
#include <vtkm/rendering/MapperRayTracer.h>
#include <vtkm/rendering/Scene.h>
#include <vtkm/rendering/View3D.h>
#include <vtkm/cont/DeviceAdapter.h>
#include <vtkm/cont/testing/Testing.h>
#include <vtkm/io/reader/VTKDataSetReader.h>
#include <vtkm/filter/MarchingCubes.h>
#include <vtkm/cont/DataSetFieldAdd.h>
#include <vtkm/filter/MarchingCubes.h>
#include <iostream>
...
...
examples/multi_backend/MultiBackend.cxx
View file @
efbde1d5
...
...
@@ -26,10 +26,10 @@
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/worklet/WorkletMapField.h>
#include <vtkm/cont/TryExecute.h>
#include <vtkm/cont/cuda/DeviceAdapterCuda.h>
#include <vtkm/cont/tbb/DeviceAdapterTBB.h>
#include <vtkm/cont/serial/DeviceAdapterSerial.h>
#include <vtkm/cont/
TryExecute
.h>
#include <vtkm/cont/
tbb/DeviceAdapterTBB
.h>
typedef
vtkm
::
Vec
<
vtkm
::
Float32
,
3
>
FloatVec3
;
typedef
vtkm
::
Vec
<
vtkm
::
UInt8
,
4
>
Uint8Vec4
;
...
...
examples/rendering/Rendering.cxx
View file @
efbde1d5
...
...
@@ -43,9 +43,9 @@
#endif
#include <vtkm/rendering/CanvasGL.h>
#include <vtkm/rendering/ColorTable.h>
#include <vtkm/rendering/MapperGL.h>
#include <vtkm/rendering/View3D.h>
#include <vtkm/rendering/ColorTable.h>
vtkm
::
rendering
::
View3D
*
view
=
nullptr
;
...
...
examples/streamline/StreamLineUniformGrid.cxx
View file @
efbde1d5
...
...
@@ -22,17 +22,17 @@
#define VTKM_DEVICE_ADAPTER VTKM_DEVICE_ADAPTER_SERIAL
#endif
#include <vtkm/worklet/StreamLineUniformGrid.h>
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/Math.h>
#include <vtkm/cont/ArrayHandle.h>
#include <vtkm/cont/DataSet.h>
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/worklet/StreamLineUniformGrid.h>
#include <vtkm/cont/testing/Testing.h>
#include <fstream>
#include <vector>
#include <math.h>
#include <vector>
//Suppress warnings about glut being deprecated on OSX
#if (defined(VTKM_GCC) || defined(VTKM_CLANG))
...
...
examples/tetrahedra/TetrahedralizeExplicitGrid.cxx
View file @
efbde1d5
...
...
@@ -22,11 +22,11 @@
#define VTKM_DEVICE_ADAPTER VTKM_DEVICE_ADAPTER_SERIAL
#endif
#include <vtkm/filter/Tetrahedralize.h>
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/Math.h>
#include <vtkm/cont/DataSet.h>
#include <vtkm/cont/DataSetBuilderExplicit.h>
#include <vtkm/filter/Tetrahedralize.h>
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/cont/testing/Testing.h>
...
...
examples/tetrahedra/TetrahedralizeUniformGrid.cxx
View file @
efbde1d5
...
...
@@ -22,10 +22,10 @@
#define VTKM_DEVICE_ADAPTER VTKM_DEVICE_ADAPTER_SERIAL
#endif
#include <vtkm/filter/Tetrahedralize.h>
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/Math.h>
#include <vtkm/cont/DataSet.h>
#include <vtkm/filter/Tetrahedralize.h>
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/cont/testing/Testing.h>
...
...
examples/tetrahedra/TriangulateExplicitGrid.cxx
View file @
efbde1d5
...
...
@@ -22,10 +22,10 @@
#define VTKM_DEVICE_ADAPTER VTKM_DEVICE_ADAPTER_SERIAL
#endif
#include <vtkm/filter/Triangulate.h>
#include <vtkm/cont/CellSetExplicit.h>
#include <vtkm/cont/DataSet.h>
#include <vtkm/cont/DataSetBuilderExplicit.h>
#include <vtkm/filter/Triangulate.h>
#include <vtkm/cont/testing/Testing.h>
...
...
examples/tetrahedra/TriangulateUniformGrid.cxx
View file @
efbde1d5
...
...
@@ -22,10 +22,10 @@
#define VTKM_DEVICE_ADAPTER VTKM_DEVICE_ADAPTER_SERIAL
#endif
#include <vtkm/filter/Triangulate.h>
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/Math.h>
#include <vtkm/cont/DataSet.h>
#include <vtkm/filter/Triangulate.h>
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/cont/testing/Testing.h>
...
...
examples/unified_memory/UnifiedMemory.cu
View file @
efbde1d5
...
...
@@ -21,9 +21,9 @@
#define VTKM_DEVICE_ADAPTER VTKM_DEVICE_ADAPTER_CUDA
#include <vtkm/cont/ArrayHandleStreaming.h>
#include <vtkm/worklet/DispatcherStreamingMapField.h>
#include <vtkm/filter/MarchingCubes.h>
#include <vtkm/worklet/DispatcherMapField.h>
#include <vtkm/worklet/DispatcherStreamingMapField.h>
#include <vtkm/Math.h>
#include <vtkm/cont/ArrayHandleCounting.h>
...
...
vtkm/BinaryOperators.h
View file @
efbde1d5
...
...
@@ -20,8 +20,8 @@
#ifndef vtk_m_BinaryOperators_h
#define vtk_m_BinaryOperators_h
#include <vtkm/internal/ExportMacros.h>
#include <vtkm/Math.h>
#include <vtkm/internal/ExportMacros.h>
namespace
vtkm
{
...
...
vtkm/Math.h
View file @
efbde1d5
...
...
@@ -25,15 +25,15 @@
#ifndef vtk_m_Math_h
#define vtk_m_Math_h
#include <vtkm/Types.h>
#include <vtkm/TypeTraits.h>
#include <vtkm/Types.h>
#include <vtkm/VecTraits.h>
#ifndef VTKM_CUDA
#include <cmath>
#include <limits.h>
#include <math.h>
#include <stdlib.h>
#include <cmath>
#endif // !VTKM_CUDA
#if !defined(__CUDA_ARCH__)
...
...
vtkm/Matrix.h
View file @
efbde1d5
...
...
@@ -24,8 +24,8 @@
#include <vtkm/Assert.h>
#include <vtkm/Math.h>
#include <vtkm/Types.h>
#include <vtkm/TypeTraits.h>
#include <vtkm/Types.h>
#include <vtkm/VecTraits.h>
namespace
vtkm
{
...
...
vtkm/StaticAssert.h
View file @
efbde1d5
...
...
@@ -20,8 +20,8 @@
#ifndef vtk_m_StaticAssert_h
#define vtk_m_StaticAssert_h
#include <vtkm/internal/Configure.h>
#include <type_traits>
#include <vtkm/internal/Configure.h>
#define VTKM_STATIC_ASSERT(condition) \
static_assert( (condition), "Failed static assert: " #condition)
...
...
vtkm/VecFromPortal.h
View file @
efbde1d5
...
...
@@ -21,8 +21,8 @@
#define vtk_m_VecFromPortal_h
#include <vtkm/Math.h>
#include <vtkm/Types.h>
#include <vtkm/TypeTraits.h>
#include <vtkm/Types.h>
#include <vtkm/VecTraits.h>
#include <vtkm/internal/ArrayPortalValueReference.h>
...
...
vtkm/VecFromPortalPermute.h
View file @
efbde1d5
...
...
@@ -21,8 +21,8 @@
#define vtk_m_VecFromPortalPermute_h
#include <vtkm/Math.h>
#include <vtkm/Types.h>
#include <vtkm/TypeTraits.h>
#include <vtkm/Types.h>
#include <vtkm/VecTraits.h>
namespace
vtkm
{
...
...
vtkm/VecRectilinearPointCoordinates.h
View file @
efbde1d5
...
...
@@ -21,8 +21,8 @@
#define vtk_m_exec_VecRectilinearPointCoordinates_h
#include <vtkm/Math.h>
#include <vtkm/Types.h>
#include <vtkm/TypeTraits.h>
#include <vtkm/Types.h>
#include <vtkm/VecTraits.h>
namespace
vtkm
{
...
...
vtkm/VecVariable.h
View file @
efbde1d5
...
...
@@ -22,8 +22,8 @@
#include <vtkm/Assert.h>
#include <vtkm/Math.h>
#include <vtkm/Types.h>
#include <vtkm/TypeTraits.h>
#include <vtkm/Types.h>
#include <vtkm/VecTraits.h>
namespace
vtkm
{
...
...
vtkm/VectorAnalysis.h
View file @
efbde1d5
...
...
@@ -25,8 +25,8 @@
// This header file defines math functions that deal with linear albegra funcitons
#include <vtkm/Math.h>
#include <vtkm/Types.h>
#include <vtkm/TypeTraits.h>
#include <vtkm/Types.h>
#include <vtkm/VecTraits.h>
namespace
vtkm
{
...
...
Prev
1
2
3
4
5
…
13
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment