Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sudhanshu Sane
VTK-m
Commits
f848bc35
Commit
f848bc35
authored
Jan 10, 2019
by
Robert Maynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct warnings from switch statements with no case labels.
parent
90bca8a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
vtkm/rendering/raytracing/MeshConnectivityContainers.cxx
vtkm/rendering/raytracing/MeshConnectivityContainers.cxx
+6
-0
No files found.
vtkm/rendering/raytracing/MeshConnectivityContainers.cxx
View file @
f848bc35
...
...
@@ -133,6 +133,8 @@ const MeshConnectivityBase* UnstructuredContainer::Construct(
}
return
Handle
.
PrepareForExecution
(
CUDA
());
#endif
case
VTKM_DEVICE_ADAPTER_SERIAL
:
VTKM_FALLTHROUGH
;
default:
using
SERIAL
=
vtkm
::
cont
::
DeviceAdapterTagSerial
;
{
...
...
@@ -242,6 +244,8 @@ const MeshConnectivityBase* UnstructuredSingleContainer::Construct(
}
return
Handle
.
PrepareForExecution
(
CUDA
());
#endif
case
VTKM_DEVICE_ADAPTER_SERIAL
:
VTKM_FALLTHROUGH
;
default:
using
SERIAL
=
vtkm
::
cont
::
DeviceAdapterTagSerial
;
{
...
...
@@ -294,6 +298,8 @@ const MeshConnectivityBase* StructuredContainer::Construct(
case
VTKM_DEVICE_ADAPTER_CUDA
:
return
Handle
.
PrepareForExecution
(
vtkm
::
cont
::
DeviceAdapterTagCuda
());
#endif
case
VTKM_DEVICE_ADAPTER_SERIAL
:
VTKM_FALLTHROUGH
;
default:
return
Handle
.
PrepareForExecution
(
vtkm
::
cont
::
DeviceAdapterTagSerial
());
}
...
...
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