- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
is it possible to copy a matrix from the xeon phi to the host that has a leading dimension which is not equal to the number of rows (i.e., similar cudaMemcpy2D).
Furthermore, is it possible specify the destination location for a MIC-to-Host data transfer (i.e., similar to cudaMemcpy)?
Thanks,
Paul
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe the INTO() modifier used with the OUT data movement clause may offer support similar to cudaMemcpy for moving data from the Xeon Phi™ to the host but this does not allow/support the non-matching shapes like cudaMemcpy2D. The discussion on Moving Data from One Variable to Another in the User’s Guide offers some additional details.
I will ask others who are more knowledgeable about CUDA than me about this too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
as always: thank you.
The into modifier definitively helps, but a 2D copy would be preferable.
On a related note, is it possible to use peer-to-peer communication in the offload model? I need to add two arrays together (one on mic:0 and the other on mic:1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pardon the delayed reply. We do not support peer-to-peer (between cards). All data transfer must route through the host.
There is a feature planned for the next major release later this year (2015) that Development indicates offers capabilities for target allocation and data transfer using a 2D shape that is equivalent to cudaMemcpy2D.
You may already be aware of these new features in our latest IPS XE 2015 release, but I also wanted mention the article on Data transfer of an "array of pointers" using the Intel® Language Extensions for Offload (LEO) for the Intel® Xeon Phi™ coprocessor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm certainly looking forward to see this feature being implemented.
Thanks,
Paul

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page