Forum Discussion
JGoer1
New Contributor
6 years agoHi there,
Thank you for the reply! We are getting closer!
The next issue I have is I'm getting the following output:
$ bin/host -emulator
Querying platform for info:
==========================
CL_PLATFORM_NAME = Intel(R) FPGA SDK for OpenCL(TM)
CL_PLATFORM_VENDOR = Intel(R) Corporation
CL_PLATFORM_VERSION = OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 19.3
ERROR: CL_DEVICE_NOT_FOUND
Location: ../common/src/AOCLUtils/opencl.cpp:356
Query for number of devices failedI have run the following commands to set up the number of devices:
$ export CL_CONFIG_CPU_EMULATE_DEVICES=1 host
$ bin/host -emulatorI found this thread (https://forums.intel.com/s/question/0D50P00003yyS6sSAE/compile-and-run-issues-of-hello-world?language=en_US) talking about needing to set the CL_CONTEXT_EMULATOR_DEVICE_ALTERA variable, however I can't find anything in the install pdf about that variable (other than it's been renamed to CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA for rebranding purposes). Should I set that? if so, what should I set it to?
Thanks again for your time! I really appreciate it!