标签: cuda
在Pascal上遇到严重的性能问题但没有Maxwell之后,我发现Maxwell能够使用托管内存而Pascal不是(并且它恢复为零拷贝)。
以下为Pascal返回False,而Maxwell为True:
cudaDeviceGetAttribute(&result, cudaDevAttrConcurrentManagedAccess, device_id);