about managed memory

Dear sir,
I think managed memory is very useful. I’m wondering how to use managed memory for multi GPU cards. please kindly advise me

Hi Telsalady,

To quote Unified Memory for CUDA Beginners | NVIDIA Technical Blog for Pascal and later devices, “it just works”.

Unified Memory transparently enables oversubscribing GPU memory, enabling out-of-core computations for any code that is using Unified Memory for allocations. It “just works� without any modifications to the application, whether running on one GPU or multiple GPUs.

For pre-Pascal architectures see: CUDA C++ Programming Guide

-Mat