Updates will be applied - 3:30pm EDT (UTC -400). No downtime expected.

Commit d6ce8000 authored by Sujin Philip's avatar Sujin Philip

Workaround an Intel compiler bug

Fixes a linker error about not finding 'LinearBVH::ConstructOnDevice'
parent 800bcf31
......@@ -903,6 +903,20 @@ 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);
#ifdef VTKM_ENABLE_TBB
template VTKM_CONT_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>(
vtkm::cont::DeviceAdapterTagCuda);
#endif
#endif
VTKM_CONT
bool LinearBVH::GetIsConstructed() const
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment