- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi ,
When I added the barrier(CLK_GLOBAL_MEM_FENCE) in the kernel code , I always got the message "quartus compilation failed" I searched some threads and knew the if-else will result in this warning message (....at most two workgroup is allowed) But in my kernel program , there are lots of if-else to decide the path like as follow: """""""""" func1 func2 funcA funcB funcC{ if func1 else func2 } funcD{ if funcA else funcB } funcE{ if funcC else funcD } __kernel void func() { funcE; barrier(CLK_GLOBAL_MEM_FENCE) } """""""""" Could anyone tell us how to utilization the code if there are lots of if-else to decide the PATH? BinarySearch might encounter the same situation (It's just my guess). How to solve this situation ? Maybe we can use pipe or other programming skills to fit the design in DE5 Thanks : )Link Copied
0 Replies

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