aclmdlRIValueWriteTaskParams

1
2
3
4
typedef struct aclmdlRIValueWriteTaskParams {
    void *devAddr;
    uint64_t value;
} aclmdlRIValueWriteTaskParams;

Member

Description

devAddr

Device memory address.

You need to allocate device memory in advance (for example, by calling aclrtMalloc). The value of devAddr must be 8-byte aligned. The valid memory bit width is 64 bits.

value

Data to be written to the memory.