/cudam

C++ shim for replacing new with cudaMallocManaged.

Primary LanguageC++MIT LicenseMIT

Usage:
LD_PRELOAD=/path/to/cudam.so ./a.out

Should replace all calls to new, new[] with cudaMallocManaged() w/o source changes.