UnifiedMemoryPerf-Unified and ot

2020-03-14  本文已影响0人  fantasy5328

https://github.com/NVIDIA/cuda-samples/tree/master/Samples/UnifiedMemoryPerf
Unified and other CUDA Memories Performance
该示例演示了使用带/不带提示的统一内存矩阵乘法内核以及其他类型的内存(例如零拷贝缓冲区,可分页,分页锁定的内存,在单个GPU上执行同步和异步传输)的性能比较:

UMhint UMhntAs UMeasy 0Copy MemCopy CpAsync CpHpglk CpPglAs

"UMhint", // Managed Memory With Hints
"UMhntAs", // Managed Memory With_Hints Async
"UMeasy", // Managed_Memory with No Hints
"0Copy", // Zero Copy
"MemCopy", // USE HOST PAGEABLE AND DEVICE_MEMORY
"CpAsync", // USE HOST PAGEABLE AND DEVICE_MEMORY ASYNC
"CpHpglk", // USE HOST PAGELOCKED AND DEVICE MEMORY
"CpPglAs" // USE HOST PAGELOCKED AND DEVICE MEMORY ASYNC

测试结果:

-Jetson Xavier capability 7.2 (Volta)

上一篇下一篇

猜你喜欢

热点阅读