Emulator Environment Variables
Controls the number of identical emulator devices provided by the emulator platform. If not set, a single emulator device is available. Therefore, set this variable only if you want to emulate multiple devices.
Indicates a maximum number of threads that the emulator can use. The default value is 32, and the maximum value is 255. Each thread can run a single kernel. If the application requires several kernels to be executing simultaneously, you must set the
OCL_TBB_NUM_WORKERSenvironment variable appropriately to the number of kernels used or a higher value.
Set the amount of available local memory with units. For example:
Set the amount of available private memory with units. For example:
On Windows, the FPGA emulator can silently fail by running out of memory. As a workaround to catch this error, write your kernel code using the try-catch syntax.
When you compile your kernel for emulation, the pipe depth is different from the pipe depth generated when your kernel is compiled for hardware. You can change this behavior with the
CL_CONFIG_CHANNEL_DEPTH_EMULATION_MODEenvironment variable. For details, see Emulate Pipe Depth.