- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all. I am trying to reduce my offload costs by only copying the data that I need.
!original copy !$omp target update from(my_array) !this works !$omp target update from(1:1000,1) !$omp target update from(1:1000,2) !$omp target update from(1:1000,3) !this doesn't !$omp target update from(my_array(var1:var2, 1)) !$omp target update from(my_array(var1:var2, 2)) !$omp target update from(my_array(var1:var2, 3)) !starts coping gigabytes(????) of data or just seg faults
Any idea?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This could be an error in the source code or a compiler defect.
It is hard to say unless you post a complete executable example.

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