aclrtRandomTaskUpdateAttr

1
2
3
4
5
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 structure and only the values of randomParaAddr, randomResultAddr, randomCounterAddr, randomSeed, and randomNum in the structure can be updated.

size

Memory size, in bytes.

rsv

Reserved. The value is fixed at 0.