Reply To: Problem while running code with GPU but running well using CPU
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › Bug Reports › Problem while running code with GPU but running well using CPU › Reply To: Problem while running code with GPU but running well using CPU
Hello everyone, I’m trying to simulate the oblique collision of a small sphere with a wall by modifying an existing codebase. The original code runs correctly on the GPU after I properly configured the environment. However, when I run my modified version in GPU-only mode, the code compiles successfully, but during execution the GPU utilization remains at 0%, as shown in the figure. It seems that the computation is not actually being performed on the GPU. We’re unable to determine the exact reason—could it be that our modified code is incompatible with GPU execution?
`
- This reply was modified 1 week, 5 days ago by 2366039968@qq.com.