Can't throw an exception in CUDA.

This commit is contained in:
Dave Pugmire 2019-03-04 12:35:36 -05:00
parent 8dbfcf3747
commit d9cc794c38

@ -357,7 +357,7 @@ struct ZFPBlockEncoder<BlockSize, vtkm::UInt8, PortalType>
vtkm::UInt32 vtkmNotUsed(blockIdx),
PortalType& vtkmNotUsed(stream))
{
throw vtkm::cont::ErrorBadType("Unsupported type for ZFP worklet: vtkm::UInt8");
std::cerr << "Unsupported type for ZFP worklet: vtkm::UInt8" << std::endl;
}
};