- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am running the latest sdk, targetting the CPU. ( core i7 Q720)
My work group X-dimension is 128.
I have an expression
bool doWrite = (get_local_id(0) >= 0) && (get_local_id(0) < 128);
which should always equal true. However, when I run my kernel this is not true.
I see this because my results differ when I simply set doWrite equal to true.
Any ideas?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: you can find a reproducer here:
https://github.com/boxerab/roger
checkout branch simple_bdy, and run the x64 configuration.
Note: you will need OpenCV installed.
The sample image is that of a baboon. If you run it, you can see aliasing effects
in the image, particularly around the eyes and bridge of nose.
Look for a comment discussing "aliasing effects". If you uncomment the next line ( which should be equivalent to
leaving it commented) then the aliasing effects go away.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
never mind, I found a bug in my kernel. Problem solved.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page