aclrtRandomTaskUpdateAttr

typedef struct { 
    void *srcAddr;    
    size_t size;      
    uint32_t rsv[4];  
} aclrtRandomTaskUpdateAttr;

Member

Description

srcAddr

Stores the device memory address data to be updated. The data must be organized based on the aclrtRandomNumTaskInfo struct and only the values of randomParaAddr, randomResultAddr, randomCounterAddr, randomSeed, and randomNum in the struct can be updated.

size

Memory size, in bytes.

rsv

Reserved. The value is fixed at 0.