mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
Can't throw an exception in CUDA.
This commit is contained in:
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;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user