We need to add logic for integer zero copy cases here:
|
// we compile vtk-h with fp types |
Otherwise, device only allocated fields will crash when we try to access on the host to convert them to floating point arrays here:
|
n_vals.to_float64_array(n_tmp); |
originally discussed here: #1100 (comment)
We need to add logic for integer zero copy cases here:
ascent/src/libs/ascent/runtimes/ascent_vtkh_data_adapter.cpp
Line 1355 in 1f97a30
Otherwise, device only allocated fields will crash when we try to access on the host to convert them to floating point arrays here:
ascent/src/libs/ascent/runtimes/ascent_vtkh_data_adapter.cpp
Line 1379 in 1f97a30
originally discussed here: #1100 (comment)