7.50. cudaMemcpyAttributes 结构体参考

[CUDA运行时使用的数据类型]

批处理内拷贝的特定属性。有关使用详情,请参阅cudaMemcpyBatchAsync

公共变量

struct cudaMemLocation dstLocHint
unsigned int  flags
enumcudaMemcpySrcAccessOrder srcAccessOrder
struct cudaMemLocation srcLocHint

变量

struct cudaMemLocationcudaMemcpyAttributes::dstLocHint [inherited]

目标操作数的提示位置。当指针不是托管内存或CUDA外部分配的内存时,该提示将被忽略。

unsigned int cudaMemcpyAttributes::flags [inherited]

带有此属性的拷贝操作的其他标志。参见 cudaMemcpyFlags

enumcudaMemcpySrcAccessOrdercudaMemcpyAttributes::srcAccessOrder [inherited]

使用此属性的副本需要遵守的源访问顺序。

struct cudaMemLocationcudaMemcpyAttributes::srcLocHint [inherited]

源操作数的提示位置。当指针不是托管内存或CUDA外部分配的内存时,该提示将被忽略。