Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Managing Memory Allocation on the Target for Pointer Variables

$
0
0

This topic only applies to Intel® 64 and IA-32 architectures targeting Intel® Graphics Technology.

Memory management on the CPU for pointer variables used in offloaded programs is the same as non-offload programs. That is, the offload pragmas do not affect memory allocation and freeing on the CPU. As usual, you, the programmer, must do this.

Memory management on the processor graphics for pointer variables named in in and out clauses of #pragma offload is done automatically by the compiler and runtime system. For the pin clause, the same host memory is reused.

Inglés

Viewing all articles
Browse latest Browse all 1616

Trending Articles



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