- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gen8/9 has 2 SIMD in each EU. How can i specify to use 2 SIMD in openCL?
thanks,
Jeffrey
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeffrey,
First, your kernel's NDRange should be wide enough to utilize multiple SIMD.
Then, in order to motivate the compiler to use 2 SIMD lanes, make sure you have:
1- simultaneous Kernel instances executing the same target instruction
2- target instruction applied to elements of a data type fitting half the target SIMD. (data type length <= Target SIMD Width/2)
3- explicit declaration of target data type.
Best regards,
Tamer
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