Hi,

 > I have just realized that the Vendor ID was associated with the SDK
> provider, not the Hardware Vendor. That is, Apple's implementation of
> NVidia is slightly different from the original one :
>
> Apple :
> Vendor name : NVIDIA
> Vendor ID : 16918016
>
> NVidia :
> Vendor name : NVIDIA Corporation
> Vendor ID : 4318
>
> The biggest consequence is that the generator will fallback on crappy
> default profiles, even when the right ones are available...
>
> Shouldn't we have an upper layer returning some viennacl::vendor_id ?

I suggest to keep vendor_id as is, i.e. preserve the meaning as defined 
in OpenCL in order not to cause confusion. Instead, what about adding a 
'provider' variable/function, which represents this 'upper layer' and 
would map Apple's implementation to NVIDIA?

Best regards,
Karli

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to