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
cf358bdc
Commit
cf358bdc
authored
May 24, 2018
by
Allison Vacanti
Browse files
Ensure that LinearBVH template codes are exported on all compilers.
parent
5011eddc
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/rendering/raytracing/BoundingVolumeHierarchy.cxx
View file @
cf358bdc
...
...
@@ -898,19 +898,17 @@ void LinearBVH::ConstructOnDevice(Device device)
logger
->
CloseLogEntry
(
time
);
}
// explicitly export to workaround an intel compiler bug
#if defined(VTKM_ICC)
template
VTKM_CONT_EXPORT
void
LinearBVH
::
ConstructOnDevice
<
vtkm
::
cont
::
DeviceAdapterTagSerial
>(
vtkm
::
cont
::
DeviceAdapterTagSerial
);
// explicitly export
template
VTKM_RENDERING_EXPORT
void
LinearBVH
::
ConstructOnDevice
<
vtkm
::
cont
::
DeviceAdapterTagSerial
>(
vtkm
::
cont
::
DeviceAdapterTagSerial
);
#ifdef VTKM_ENABLE_TBB
template
VTKM_
CONT
_EXPORT
void
LinearBVH
::
ConstructOnDevice
<
vtkm
::
cont
::
DeviceAdapterTagTBB
>(
template
VTKM_
RENDERING
_EXPORT
void
LinearBVH
::
ConstructOnDevice
<
vtkm
::
cont
::
DeviceAdapterTagTBB
>(
vtkm
::
cont
::
DeviceAdapterTagTBB
);
#endif
#ifdef VTKM_ENABLE_CUDA
template
VTKM_
CONT
_EXPORT
void
LinearBVH
::
ConstructOnDevice
<
vtkm
::
cont
::
DeviceAdapterTagCuda
>(
template
VTKM_
RENDERING
_EXPORT
void
LinearBVH
::
ConstructOnDevice
<
vtkm
::
cont
::
DeviceAdapterTagCuda
>(
vtkm
::
cont
::
DeviceAdapterTagCuda
);
#endif
#endif
VTKM_CONT
bool
LinearBVH
::
GetIsConstructed
()
const
...
...
Write
Preview
Supports
Markdown
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