A newer version of this document is available. Customers should click here to go to the newest version.
data-transfer
Set the level of details for modeling data transfers during Characterization.
GUI Equivalent
Analysis Workflow > Offload Modeling > Characterization > Data Transfer Simulation
Project Properties > Analysis Target > Survey Analysis Types > Trip Counts and FLOP analysis > Advanced > Data transfer simulation mode
Syntax
--data-transfer=off | light | medium | full  |  
     
Arguments
Argument  |  
        Description  |  
       
|---|---|
off  |  
        Disable data transfer simulation.  |  
       
light  |  
        Model data transfer between host and device memory.  |  
       
medium  |  
        Model data transfer between host and device memory, attribute memory objects to the analyzed loops that accessed the objects, and track accesses to stack memory.  |  
       
full  |  
        Model data transfers, attribute memory objects, track accesses to stack memory, and identify where data can be potentially reused if transferred between host and target.  |  
       
Default
off
Usage
Usage can increase analysis overhead.
data-transfer option takes precedence over the enable-data-transfer-analysis option and its modifications. So if you specify both, data-transfer rewrites all enable-data-transfer-analysis modifications used.
Example
Run Survey Analysis.
Run Trip Counts and FLOP analyses of the Characterization stage with full data transfer simulation.
Model your application performance on a target device.
advisor --collect=survey --static-instruction-mix --project-dir=./advi_results -- ./myApplication
 
   advisor --collect=tripcounts --flop --data-transfer=full --project-dir=./advi_results -- ./myApplication 
   advisor --collect=projection --project-dir=./advi_results