英語 での To the coprocessor の使用例とその 日本語 への翻訳
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Programming
Its only purpose is to start transferring in1 to the coprocessor.
Within the do loop,either in1 or in2 is transferred to the coprocessor, and computation starts on whichever set has already been transferred.
Asynchronous Data Transfer From the CPU to the Coprocessor To transfer data asynchronously from the CPU to the coprocessor, use a signal clause in an offload_transfer pragma with in clauses.
Asynchronous Data Transfer From the CPU to the Coprocessor To transfer data asynchronously from the CPU to the coprocessor, use a signal clause in an OFFLOAD_TRANSFER directive with in clauses.
When you use INTO with the IN clause,data is copied from the CPU object to the coprocessor object.
Execution begins on the host CPU and, based on user-defined code,some sections are offloaded to the coprocessor.
By default, all environment variables defined in the environment of anexecuting CPU program are replicated to the coprocessor's execution environment when an offload occurs.
But only global variables with the targetattribute are compiled into the binary offloaded to the coprocessor.
You can modify the coprocessor's execution environment using the following mechanisms: Setting environment variables for the coprocessor on the CPU,and passing them to the coprocessor calling functions from the CPU In general, function calls override environment variables.
At lines 122-123,the CPU initiates an asynchronous data transfer(OUT) from the coprocessor to the CPU for the computed results for f2 and continues execution to line 128 where the CPU waits for the completion of the transfer of f2.
Examples: Coprocessor to CPU and CPU to Coprocessor The example below demonstrates various asynchronous data transfers between the CPU and coprocessor. .
This usage model enables you to use the Intel compiler and its offload pragma support to manage the functions anddata offloaded to a coprocessor.
After linking with the Intel MKL libraries for Intel MIC Architecture,the compiler provided run-time libraries transfer the functions along with their data to a coprocessor to carry out the computations.