favreau / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Patch to support Intel OpenCL SDK #533

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Intel OpenCL 1.1 SDK (support for Windows and Linux):

http://www.intel.com/go/opencl

Attached is a patch (against r2412) that will add support to the CMakeLists and 
to the relevant source files, for finding and configuring the Bullet OpenCL 
support for Intel's OpenCL SDK. Also adds an AppOpenCLClothDemo_Intel 
executable target. Tested on Win7-64/VS2008(32-bit build) and both 
Ubuntu/64-bit (Natty) and RHEL6 64-bit. Also attached are additional textures 
that would go into Demos/OpenCLClothDemo.

Patch was created using TortoiseSVN's "Create Patch" tool, against r2414 of 
trunk. If you need, I can recreate the patch against a newer rev. Apply patch 
from the Bullet source root (trunk/).

Original issue reported on code.google.com by ggjun...@gmail.com on 31 Aug 2011 at 6:30

Attachments:

GoogleCodeExporter commented 9 years ago
Erm, this is mislabeled as a defect -- not sure how to change it now...

Original comment by ggjun...@gmail.com on 31 Aug 2011 at 6:32

GoogleCodeExporter commented 9 years ago
Thanks for the patch, I'll check and apply it before the next release.

Note that the .bmp files are very big (also the existing one with the AMD 
logo), so probably better to use a different format+loader. There are some tiny 
png/jpg loaders from http://nothings.org, good enough for demo purposes.

Original comment by erwin.coumans on 1 Sep 2011 at 2:01

GoogleCodeExporter commented 9 years ago
Thanks Erwin. 

Re: the images -- that was "when in Rome..." ;)

Greg

Original comment by ggjun...@gmail.com on 1 Sep 2011 at 2:54

GoogleCodeExporter commented 9 years ago
Applied the patch (also for the particle demo) and replaced the default logo by 
the bullet_logo.png (44kb rather than 1Mb)

http://code.google.com/p/bullet/source/detail?r=2420

Thanks!
Erwin

Original comment by erwin.coumans on 13 Sep 2011 at 1:55

GoogleCodeExporter commented 9 years ago
Great, thanks again Erwin!

Greg

Original comment by ggjun...@gmail.com on 13 Sep 2011 at 3:28

GoogleCodeExporter commented 9 years ago
Hi Erwin

It looks like there may have been a directory missed in the checkin?

CMake Error at Demos/ParticlesOpenCL/CMakeLists.txt:6 (SUBDIRS):
  subdirs Incorrect SUBDIRS command.  Directory: Intel does not exists.

Thanks
Greg

Original comment by ggjun...@gmail.com on 13 Sep 2011 at 8:04