- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was trying to run the optical flow example on Sockit. When I compile the kernel with the full flow(without -c), I can generate the kernel file.(about 25mins) But if I want to run the first stage only(with -c) or to profile the kernel with(--profile), after quite a long time compiling(2hours or more), then I got an error: "Optimizer FAILED! Refer to optical_folw/optical_flow.log for details." I checked the log file, but it is empty. I know with "--profile", it is much slower and may use more resources, but if I remember correctly, this kernel I generated the first time only consumed around 45%. So there should be enough resources, right? But for the first stage compiling, I really don't know why I can not get the estimated resource usage report. (PS: I tried this with -c two or three times, all optimizer failed.) Thanks ShaodongLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Shaodong
"Optimizer FAILED" message when compiling optical_flow.cl with --profile seems to be a bug in the compiler. We will work on fixing this for a future release of the compiler. Thank you for reporting it. To get estimated resource usage, make sure to supply --report option to aoc. Note that the estimated report is generated after the optimizer.
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