Replies: 4 comments 10 replies
-
@yslan I did not test this, but most likely, if the specified backend is not available it will break expecting to be built with the correct flags and TPLs. Otherwise it should default to serial on the CPU. Yes, another way to get information from Ascent using the API is either of the info() calls. This will fill or produce a conduit node with information that you can print out: ascent/src/libs/ascent/ascent_runtime.hpp Line 38 in 950c5f1 ascent/src/libs/ascent/ascent_runtime.hpp Line 40 in 950c5f1 In terms of what GPUs Ascent will work on, it is capable of using VTK-m with CUDA, and VTK-m with Kokkos and HIP. I'm currently working on an implementation using VTK-m with Kokkos and CUDA. Let me know if you have any more questions! |
Beta Was this translation helpful? Give feedback.
-
After digging into the code a bit further, I found vtkh's API Otherwise, based on the vtkm code, it will reset the backend if the proposed one is not available.
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately, if I have multiple backends, vtkm will show something like this.
Let's assume we use vtkh/vtkm.
I appreciate any inputs. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
@yslan
This will call VTK-h's "Force Cuda" routine, which should configure VTK-m to only allow cuda and not fall back to serial. ascent/src/libs/ascent/ascent.cpp Line 273 in 950c5f1 If possible, I would still run once with a device profiler to check everything is on device. |
Beta Was this translation helpful? Give feedback.
-
Hi
When we specify
runtine/vtkm/backend
what happen if the backend is not availiable? Will it choses the CPU / OpenMP instead?I know we can print out the about() or the runtime actions but I'm not sure those info are indeed used since we print it outside Ascent's API.
Or, maybe there is an API function to confirm which backend is used?
What GPU stream does Ascent use? Is there a already a synchronization in Ascent's API?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions