- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I m trying to emulate my OpenCL Kernel , and I follow the command at 8.3 chapter in getting started Guide. I used the following command, but it came out the error :
env: main: No such file or directory
my command is this :
env CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=1 main.cpp
where did I make the mistake? Thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are trying to "execute" your source file instead of the binary. You should first compile the kernel code using -march=emulator switch and compile the host code normally and then execute the host code binary using the CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=1 variable.
P.S. It is best if you post OpenCL-related questions in the High Level Design section.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page