C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.0\bin\win64\Debug>simpleP2P [simpleP2P] - Starting... Checking for multiple GPUs... CUDA-capable device count: 2 Checking GPU(s) for support of peer to peer memory access... > Peer access from TITAN RTX (GPU0) -> TITAN RTX (GPU1) : Yes > Peer access from TITAN RTX (GPU1) -> TITAN RTX (GPU0) : Yes Enabling peer access between GPU0 and GPU1... Allocating buffers (64MB on GPU0, GPU1 and CPU Host)... Creating event handles... cudaMemcpyPeer / cudaMemcpy between GPU0 and GPU1: 38.67GB/s Preparing host buffer and memcpy to GPU0... Run kernel on GPU1, taking source data from GPU0 and writing to GPU1... Run kernel on GPU0, taking source data from GPU1 and writing to GPU0... Copy data back to host from GPU0 and verify results... Disabling peer access... Shutting down... Test passed C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.0\bin\win64\Debug>nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2020 NVIDIA Corporation Built on Wed_May__6_19:10:02_Pacific_Daylight_Time_2020 Cuda compilation tools, release 11.0, V11.0.167 Build cuda_11.0_bu.relgpu_drvr445TC445_37.28358933_0 C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.0\bin\win64\Debug>cd C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.0\bin\win64\Debug C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.0\bin\win64\Debug>p2pBandwidthLatencyTest [P2P (Peer-to-Peer) GPU Bandwidth Latency Test] Device: 0, TITAN RTX, pciBusID: 1, pciDeviceID: 0, pciDomainID:0 Device: 1, TITAN RTX, pciBusID: 4a, pciDeviceID: 0, pciDomainID:0 Device=0 CAN Access Peer Device=1 Device=1 CAN Access Peer Device=0 ***NOTE: In case a device doesn't have P2P access to other one, it falls back to normal memcopy procedure. So you can see lesser Bandwidth (GB/s) and unstable Latency (us) in those cases. P2P Connectivity Matrix D\D 0 1 0 1 1 1 1 1 Unidirectional P2P=Disabled Bandwidth Matrix (GB/s) D\D 0 1 0 533.64 5.75 1 5.82 536.57 Unidirectional P2P=Enabled Bandwidth (P2P Writes) Matrix (GB/s) D\D 0 1 0 533.28 46.98 1 46.87 526.43 Bidirectional P2P=Disabled Bandwidth Matrix (GB/s) D\D 0 1 0 432.53 9.34 1 9.23 544.41 Bidirectional P2P=Enabled Bandwidth Matrix (GB/s) D\D 0 1 0 549.81 93.43 1 91.69 535.84 P2P=Disabled Latency Matrix (us) GPU 0 1 0 8.79 118.01 1 117.73 3.60 CPU 0 1 0 2.16 46.84 1 46.80 2.07 P2P=Enabled Latency (P2P Writes) Matrix (us) GPU 0 1 0 4.66 1.68 1 1.71 5.39 CPU 0 1 0 2.10 1.25 1 1.30 2.09 NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled. C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.0\bin\win64\Debug>bandwidthTest [CUDA Bandwidth Test] - Starting... Running on... Device 0: TITAN RTX Quick Mode Host to Device Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 13.1 Device to Host Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 13.2 Device to Device Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 522.9 Result = PASS NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled. C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.0\bin\win64\Debug>deviceQuery deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) Detected 2 CUDA Capable device(s) Device 0: "TITAN RTX" CUDA Driver Version / Runtime Version 11.0 / 11.0 CUDA Capability Major/Minor version number: 7.5 Total amount of global memory: 24576 MBytes (25769803776 bytes) (72) Multiprocessors, ( 64) CUDA Cores/MP: 4608 CUDA Cores GPU Max Clock rate: 1770 MHz (1.77 GHz) Memory Clock rate: 7001 Mhz Memory Bus Width: 384-bit L2 Cache Size: 6291456 bytes Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384) Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 49152 bytes Total number of registers available per block: 65536 Warp size: 32 Maximum number of threads per multiprocessor: 1024 Maximum number of threads per block: 1024 Max dimension size of a thread block (x,y,z): (1024, 1024, 64) Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535) Maximum memory pitch: 2147483647 bytes Texture alignment: 512 bytes Concurrent copy and kernel execution: Yes with 6 copy engine(s) Run time limit on kernels: Yes Integrated GPU sharing Host Memory: No Support host page-locked memory mapping: Yes Alignment requirement for Surfaces: Yes Device has ECC support: Disabled CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model) Device supports Unified Addressing (UVA): Yes Device supports Managed Memory: Yes Device supports Compute Preemption: Yes Supports Cooperative Kernel Launch: Yes Supports MultiDevice Co-op Kernel Launch: No Device PCI Domain ID / Bus ID / location ID: 0 / 1 / 0 Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) > Device 1: "TITAN RTX" CUDA Driver Version / Runtime Version 11.0 / 11.0 CUDA Capability Major/Minor version number: 7.5 Total amount of global memory: 24576 MBytes (25769803776 bytes) (72) Multiprocessors, ( 64) CUDA Cores/MP: 4608 CUDA Cores GPU Max Clock rate: 1770 MHz (1.77 GHz) Memory Clock rate: 7001 Mhz Memory Bus Width: 384-bit L2 Cache Size: 6291456 bytes Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384) Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 49152 bytes Total number of registers available per block: 65536 Warp size: 32 Maximum number of threads per multiprocessor: 1024 Maximum number of threads per block: 1024 Max dimension size of a thread block (x,y,z): (1024, 1024, 64) Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535) Maximum memory pitch: 2147483647 bytes Texture alignment: 512 bytes Concurrent copy and kernel execution: Yes with 6 copy engine(s) Run time limit on kernels: Yes Integrated GPU sharing Host Memory: No Support host page-locked memory mapping: Yes Alignment requirement for Surfaces: Yes Device has ECC support: Disabled CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model) Device supports Unified Addressing (UVA): Yes Device supports Managed Memory: Yes Device supports Compute Preemption: Yes Supports Cooperative Kernel Launch: Yes Supports MultiDevice Co-op Kernel Launch: No Device PCI Domain ID / Bus ID / location ID: 0 / 74 / 0 Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) > deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 11.0, CUDA Runtime Version = 11.0, NumDevs = 2 Result = PASS C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.0\bin\win64\Debug>cd C:\Program Files\NVIDIA Corporation\NVSMI C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi Tue Jun 16 14:37:56 2020 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 451.22 Driver Version: 451.22 CUDA Version: 11.0 | |-------------------------------+----------------------+----------------------+ | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 TITAN RTX WDDM | 00000000:01:00.0 On | N/A | | 40% 53C P8 29W / 280W | 1061MiB / 24576MiB | 1% Default | +-------------------------------+----------------------+----------------------+ | 1 TITAN RTX WDDM | 00000000:4A:00.0 Off | N/A | | 41% 41C P8 11W / 280W | 1061MiB / 24576MiB | 1% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | 0 N/A N/A 1888 C+G Insufficient Permissions N/A | | 0 N/A N/A 2844 C+G ...me\Application\chrome.exe N/A | | 0 N/A N/A 7784 C+G ...es.TextInput.InputApp.exe N/A | | 0 N/A N/A 8552 C+G ...artMenuExperienceHost.exe N/A | | 0 N/A N/A 8944 C+G ...lPanel\SystemSettings.exe N/A | | 0 N/A N/A 8972 C+G ...w5n1h2txyewy\SearchUI.exe N/A | | 0 N/A N/A 10944 C+G ...y\ShellExperienceHost.exe N/A | | 0 N/A N/A 13656 C+G ...al\Common7\IDE\devenv.exe N/A | | 0 N/A N/A 15828 C+G ...ub.ThreadedWaitDialog.exe N/A | | 1 N/A N/A 1888 C+G Insufficient Permissions N/A | | 1 N/A N/A 2844 C+G ...me\Application\chrome.exe N/A | | 1 N/A N/A 7784 C+G ...es.TextInput.InputApp.exe N/A | | 1 N/A N/A 8552 C+G ...artMenuExperienceHost.exe N/A | | 1 N/A N/A 8944 C+G ...lPanel\SystemSettings.exe N/A | | 1 N/A N/A 8972 C+G ...w5n1h2txyewy\SearchUI.exe N/A | | 1 N/A N/A 10944 C+G ...y\ShellExperienceHost.exe N/A | | 1 N/A N/A 13656 C+G ...al\Common7\IDE\devenv.exe N/A | | 1 N/A N/A 15828 C+G ...ub.ThreadedWaitDialog.exe N/A | +-----------------------------------------------------------------------------+ C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi nvlink -c GPU 0: TITAN RTX (UUID: GPU-5a71d61e-f130-637a-b33d-4df555b0ed88) Link 0, P2P is supported: true Link 0, Access to system memory supported: true Link 0, P2P atomics supported: true Link 0, System memory atomics supported: true Link 0, SLI is supported: true Link 0, Link is supported: false Link 1, P2P is supported: true Link 1, Access to system memory supported: true Link 1, P2P atomics supported: true Link 1, System memory atomics supported: true Link 1, SLI is supported: true Link 1, Link is supported: false GPU 1: TITAN RTX (UUID: GPU-7fb51c1d-c1e7-35cc-aad7-66971f05ddb7) Link 0, P2P is supported: true Link 0, Access to system memory supported: true Link 0, P2P atomics supported: true Link 0, System memory atomics supported: true Link 0, SLI is supported: true Link 0, Link is supported: false Link 1, P2P is supported: true Link 1, Access to system memory supported: true Link 1, P2P atomics supported: true Link 1, System memory atomics supported: true Link 1, SLI is supported: true Link 1, Link is supported: false C:\Program Files\NVIDIA Corporation\NVSMI>