Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

inout

$
0
0

if i do as follows in fortran

...

integer,allocatable::a(:)

...

allocate(a(n))

...

!dir$ offload target(mic) inout(a)

!$omp parallel do...

inside the do loop a is being passed to subroutines and assigned values. is it ok to put a inside inout as above? or is there anything still needed? Thanks!


Viewing all articles
Browse latest Browse all 1347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>