if i am having two gpu say intel and nvidia (i have cpu of intel ,graphics inbuilt) if i am not doing anything for platform in opencl program and i am using sdks in my visual studio platform of NVIDIA then which gpu will be used by the program (intel graphics or nvidia).
If I’m not mistaken you have to specify the platform you want to use. If you pass NULL to clGetDeviceID you’ll get an invalid platform error. If you choose nvidia the nvidia gpu will be used.
i was asking which one will be default…intel or NVIDIA
anybody knows that
you cant say that in common. test the vendor string to see, which will be the platform with id = 0.
please answer with function name so that i can understand clearly
if you use clGetPlatformInfo you can get the Vendor of your card