On 12/08/13 17:40, Ulrich Pegelow wrote:
> Am 12.08.2013 18:22, schrieb Robert William Hutton:
>> I have an old nvidia graphics card that self-identifies as a "GeForce GT 
>> 330".  The opencl build fails (see attached
>> log).  However, if I modify src/common/nvidia_gpus.h line 168 to read:
>>
>>    "GeForce GT 330","1.0",
>>
>> Instead of:
>>
>>    "GeForce GT 330*","1.0",
>>
>> Then the build works.  Does this imply that the * doesn't do what I'd expect 
>> it to do (match 0 or more characters)?
>>
> 
> Right, we only do a simple string matching. Globbing was never 
> introduced. Not sure though if the * was meant to be part of a specific 
> device name.
> 
> I'll add a specific line so your card is matched.

Thanks.  From what I can tell by looking at the link in the comments at the top 
of the file, which seems to be the
source of the card identifiers:

https://developer.nvidia.com/cuda-gpus

The asterisks refer to a note at the bottom of the page, and denote OEM-only 
products.  So maybe the asterisks should be
removed from all of those card identifiers?

Cheers,

Rob

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to