I thought only Nvidia supported OpenCL without emulation? p
On Feb 16, 2011, at 2:53 PM, Glen Speckert wrote: > There is an example called OpenCL Procedural Grass and Terrain Example. > > When trying this on my Westmere w/5870 it fails, while on a Mini with 9400 it > works fine. > > The Mac Pro says: > > GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Thu Jan 27 08:34:47 UTC > 2011) > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000 > [Switching to process 17873 thread 0x0] > ---------------------------------------------------------------------------- > Compute Engine: Using active OpenGL context... > ---------------------------------------------------------------------------- > Creating command queue for AMD ATI Radeon HD 5870... > ---------------------------------------------------------------------------- > Creating Buffer Object (6291456 bytes)... > Creating Buffer Object (6291456 bytes)... > Creating Buffer Object (262144 bytes)... > Creating Buffer Object (262144 bytes)... > Creating Buffer Object (262144 bytes)... > Grass Simulator: BladeCount[16384] RowCount[1000] ColumnCount[1000] > Compute Engine: Loading program 'gs' from file 'grass_kernels.cl'... > ---------------------------------------------------------------------------- > Building compute program 'gs'... > Error: Failed to build program executable! > OpenCL Error[-11]: Unknown error! > Build log for device '0': > Compute Engine: Empty Build Log! Unkown Error! > ---------------------------------------------------------------------------- > Grass Simulator: Failed to create device kernel! > Program ended with exit code: 1 > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > However, when I run this on a Mac Mini, I get: > > GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Thu Jan 27 08:34:47 UTC > 2011) > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys001 > [Switching to process 45120 thread 0x0] > ---------------------------------------------------------------------------- > Compute Engine: Using active OpenGL context... > ---------------------------------------------------------------------------- > Creating command queue for NVIDIA GeForce 9400... > ---------------------------------------------------------------------------- > Creating Buffer Object (6291456 bytes)... > Creating Buffer Object (6291456 bytes)... > Creating Buffer Object (262144 bytes)... > Creating Buffer Object (262144 bytes)... > Creating Buffer Object (262144 bytes)... > Grass Simulator: BladeCount[16384] RowCount[1000] ColumnCount[1000] > Compute Engine: Loading program 'gs' from file 'grass_kernels.cl'... > ---------------------------------------------------------------------------- > Building compute program 'gs'... > ---------------------------------------------------------------------------- > Compute Engine: Creating kernel 'ComputeGrassOnTerrainKernel' for program > 'gs'... > Compute Engine: Creating OpenGL buffer reference 'grass_vertices' for buffer > id '1'... > Compute Engine: Creating OpenGL buffer reference 'grass_colors' for buffer id > '2'... > Terrain Simulator: Vertices[16384] Count[128, 128] > Compute Engine: Loading program 'tk' from file 'terrain_kernels.cl'... > ---------------------------------------------------------------------------- > Building compute program 'tk'... > ---------------------------------------------------------------------------- > Compute Engine: Creating kernel 'ComputeTerrainKernel' for program 'tk'... > Compute Engine: Creating OpenGL buffer reference 'terrain_vertices' for > buffer id '3'... > Compute Engine: Creating OpenGL buffer reference 'terrain_normals' for buffer > id '4'... > Compute Engine: Creating OpenGL buffer reference 'terrain_texcoords' for > buffer id '5'... > On Feb 6, 2011, at 9:32 AM, George Toledo wrote: > >> Apologies; make that 4870. >> >> On Sun, Feb 6, 2011 at 12:26 PM, George Toledo <gtole...@gmail.com> wrote: >> Is this card known to perform badly with QC? I had some issues with CL, GLSL >> and feedback loops (separately) that gave me serious pause when using this >> gpu. I was really surprised. It's not a stretch to say that my intel >> 3100/macbook 13" works better than a mac pro loaded with the ati. I seem to >> remember that it's not CL supported (I forgot to check w/ the cl info >> patch), but I was surprised that it just performs badly, in general. Is this >> consistent with the experience of others? >> >> -- >> George Toledo >> gtole...@gmail.com >> www.georgetoledo.com >> >> The information contained in this E-mail and any attachments may be >> confidential. >> If you have received this E-mail in error, please notify us immediately by >> telephone or return E-mail. >> You should not use or disclose the contents of this E-mail or any of the >> attachments for any purpose or to any persons. >> >> >> >> >> -- >> George Toledo >> gtole...@gmail.com >> www.georgetoledo.com >> >> The information contained in this E-mail and any attachments may be >> confidential. >> If you have received this E-mail in error, please notify us immediately by >> telephone or return E-mail. >> You should not use or disclose the contents of this E-mail or any of the >> attachments for any purpose or to any persons. >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/quartzcomposer-dev/speckert%40specktech.com >> >> This email sent to speck...@specktech.com > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/quartzcomposer-dev/psheffield%40earthlink.net > > This email sent to psheffi...@earthlink.net
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com