Why my bullet simulation is not going on GPU?

Post Reply
Ehsanizadi
Posts: 72
Joined: Mon Dec 02, 2013 4:13 pm

Why my bullet simulation is not going on GPU?

Post by Ehsanizadi »

Hi,

I am working on Ubuntu 14.04 64bit and installed Bullet. I have a Nvidia video card (GTX TITAN).
During the time I run my bullet simulation (which takes around 40 minutes), if I run "nvidia-smi" on the terminal,
I won't get Bullet as a process to run on my GPU.
Apparently I guess it just runs on a single CPU core, is that true?

Do you know how can I run Bullet on my GPU?

I have the same problem on my laptop (with Nvidia graphics card)!

Thank you
Ehsan
Ehsanizadi
Posts: 72
Joined: Mon Dec 02, 2013 4:13 pm

Re: Why my bullet simulation is not going on GPU?

Post by Ehsanizadi »

Any help??
Ehsanizadi
Posts: 72
Joined: Mon Dec 02, 2013 4:13 pm

Re: Why my bullet simulation is not going on GPU?

Post by Ehsanizadi »

I'm still trying to figure out this, if somebody knows, I will be glad to hear hints.

One thing is that when I run ./App_AllBu... and run "nvidia-smi" on another terminal, the usage of gpu is clear.
But in my specific code (which takes long time to run, but I dont have any visualisation in that and it is written in C++) GPU will not be used!

Is that due to the fact that my code is in C++?

Thank you for your help.
Ehsan
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: Why my bullet simulation is not going on GPU?

Post by Erwin Coumans »

The OpenCL rigid body pipeline is only useful for people who are very familiar with OpenCL GPU programming at the moment. In addition, most OpenCL drivers have stability issues.
Post Reply