Forum Discussion
jbick819
New Contributor
3 years agoDevice Selector Compilation Error
Hello,
Prior to the latest oneAPI update, I had been creating my device selector in the following way:
#if defined(FPGA_EMULATOR)
sycl::ext::intel::fpga_emulator_selector device_selector;
...
- 3 years ago
My apologies everyone, it seems I have the incorrect Intel forum, I meant for this to be in the Intel Devcloud forum
jbick819
New Contributor
3 years agoThank you for the suggestion, however, this unfortunately did not solve my issue. As reference, I'm just following the Intel documentation for the new way to use the device selector as seen through this link:
I did initially miss the note to make use of "defined" with the if statements, and thus changed the code to:
#if defined(FPGA_SIMULATOR) and #elif defined(FPGA_HARDWARE)