CUDA-Programming
CUDA-Programming copied to clipboard
请问为什么cudaMalloc分配的内存的首地址至少是 256 字节的整数倍?
为什么至少是256字节而不是128字节呢?书里第七章的例子是128字节的连续内存。
谢谢,您发给我的邮件已经收到,我会尽快处理。Thank you,the email you sent me has been received and I will handle it as soon as possible.王景博fever wong
这是CUDA的规定:
例子和这个规定不冲突。