PDA

View Full Version : Distributing OpenCL runtime best practices?



CLam
02-23-2013, 10:56 AM
So we have an application that is ready to be deployed on non-development machines.
A cursory googling shows theres no straight/clear cut way of distributing the opencl drivers/runtime - and yet at the same time installing entire SDK's for each platform seems like overkill.

Has anyone had any experience with this?

I assume in our installer we have to detect current platform and install either amd or nvidia;

http://developer.amd.com/tools/heteroge ... downloads/ (http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/) sdk installers contain an OpenCL.msi, i'm wondering if this is enough to distribute for end users with AMD gpu's?

It appears so according to this link (http://forums.guru3d.com/showthread.php?t=343483) as long as you force install like so msiexec.exe /I OpenCL.msi REINSTALLMODE=voums REINSTALL=ALL

I'm unsure about nVidia, their site here (https://developer.nvidia.com/opencl) states
"OpenCL support is included in the latest NVIDIA GPU drivers, available at www.nvidia.com/drivers (http://www.nvidia.com/drivers)" so i guess the installer should install latest graphics drivers for end user?

Failing nVidia and AMD, fallback to Intel driver?

Surely there must be an easier way or someone has already gone through this.