Forum Discussion
Altera_Forum
Honored Contributor
8 years agoIt is still trying to use your GPU. The GPU should not be detected at all if the host code is compiled correctly; you probably have made some mistake in compiling your host code.
Still, try this: host\src\main.cpp, line 136, change:devices.reset(getDevices(platform, CL_DEVICE_TYPE_ALL, &num_devices)); with: devices.reset(getDevices(platform, CL_DEVICE_TYPE_ACCELERATOR, &num_devices)); And see if it detects Altera's emulated device instead. If it doesn't find anything, then you have made some mistake in compiling/linking the host code.