Can't fully use GPU

67 views
Skip to first unread message

Alex Lan

unread,
Jul 9, 2023, 12:49:57 AM7/9/23
to ProjectChrono
Hi,
I'm using FSI module to simulate terrain, but I found the GPU can't use fully.
Is there any method to improve the usage of CUDA? The CUDA version is 12.0. I tried 11.7, but the usage of CUDA is also not full.
Best regards.

屏幕截图 2023-07-09 124816.png

Dan Negrut

unread,
Jul 9, 2023, 9:46:15 AM7/9/23
to Alex Lan, ProjectChrono

Hi Alex – As a rule of thumb, you shouldn’t expect to see full blown 100% use of the GPU. In the terrain computation the CPU and GPU take turns.

In your plot, what is on the left, and what is on the right? What plots are you showing?

What test is this for? How complex is it? It might not be able to saturate the GPU.

What is the level of fidelity of the profiler that you use? Is this an NVIDIA profiler, like NVIDIA Nsight Compute?

Dan

---------------------------------------------

Bernard A. and Frances M. Weideman Professor

NVIDIA CUDA Fellow

Department of Mechanical Engineering

Department of Computer Science

University of Wisconsin - Madison

4150ME, 1513 University Avenue

Madison, WI 53706-1572

608 772 0914

http://sbel.wisc.edu/

http://projectchrono.org/

---------------------------------------------

 

From: projec...@googlegroups.com <projec...@googlegroups.com> On Behalf Of Alex Lan
Sent: Saturday, July 8, 2023 11:50 PM
To: ProjectChrono <projec...@googlegroups.com>
Subject: [chrono] Can't fully use GPU

 

Hi,

I'm using FSI module to simulate terrain, but I found the GPU can't use fully.

Is there any method to improve the usage of CUDA? The CUDA version is 12.0. I tried 11.7, but the usage of CUDA is also not full.

Best regards.


--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/2527ec1f-bd6d-43a4-a5bb-489d34a8f6ebn%40googlegroups.com.

Wei Hu

unread,
Jul 13, 2023, 8:01:49 AM7/13/23
to Alex Lan, ProjectChrono
Hi Alex,

Please let us know how large the simulation was in your case, if you only used a small number of particles, it's not a surprise to see this usage. As I remember, I can always see close to 100% usage when I ran simulations with more than 1M particles.

Thank you,
Wei

--
Reply all
Reply to author
Forward
0 new messages