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

Offloading and Threadprivate variables

$
0
0

Is it not possible to offload threadprivate globals?

Compiling the following:

module mymodule   
    integer var_save
    !dir$ attributes offload:mic :: var_save
    !$omp threadprivate(var_save)
end module mymodule

Yields this error:

error #8690: *MIC* A threadprivate variable cannot appear in a DECLARE TARGET directive.   [VAR_SAVE]


Viewing all articles
Browse latest Browse all 1347

Trending Articles



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