Page 1 of 1

Why my bullet simulation is not going on GPU?

Posted: Mon Jun 29, 2015 12:51 pm
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

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

Posted: Thu Jul 09, 2015 10:06 am
by Ehsanizadi
Any help??

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

Posted: Mon Jul 27, 2015 10:20 am
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

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

Posted: Sat Aug 01, 2015 5:10 am
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.