- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robert,
in your example modulatemain.cpp, I wonder why you use clEnqueueWriteBuffer(). I looks to me clEnqueueWriteBuffer() causes extra mem copy and thus slow down computing.
thanks,
Jeffrey
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeffrey,
Yes, you actually don't want to use it on our hardware. The right thing to do is described here: https://software.intel.com/en-us/articles/getting-the-most-from-opencl-12-how-to-increase-performance-by-minimizing-buffer-copies-on-intel-processor-graphics
Modulate samples don't show good host side practices: the device side is OK.
Sorry for the confusion!

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