Hello,
I've assumed until now that the device's vendor_id would match a given
vendor, i.e. one for AMD, one for NVidia, one for Intel, etc.
Yesterday, I've realized that Toby and I didn't have the same vendor id for
our Intel integrated GPU.
I'm not sure of what the vendor id is supposed to represent, then.
For now, vendors are only used in the builtin database, but I'm realizing
that this is not useful, and that having vendor-specific defaults is
certainly a bad idea, sinc egenerations can greatly differ. I'd rather go
for mere generation-specific defaults. Should we just throw away the vendor
identification of the device, and focus on parsing the name to identify the
architecture and the device type?
Then, (CL_DEVICE_TYPE_GPU, haswell) would refer to the iGPU of haswell,
while (CL_DEVICE_TYPE_CPU, haswell) would refer to the CPU. Having
(CL_DEVICE_TYPE_GPU, haswell) on beignet or window's sdk wouldn't make any
difference from our point of view, and having (CL_DEVICE_TYPE_CPU, haswell)
on Intel's SDK or AMD's wouldn't make any difference either.
This would also prevent some headache when populating the database!
Best regards,
Philippe
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel