eyalroz / cuda-api-wrappers

Thin, unified, C++-flavored wrappers for the CUDA APIs
BSD 3-Clause "New" or "Revised" License
769 stars 79 forks source link

vectorAddMMAP fails setting access mode to virtual memory mapping #552

Closed eyalroz closed 7 months ago

eyalroz commented 11 months ago

Building with CUDA 11.2, and with driver 535.54.03, and on a machine with two Quadro RTX 6000 cards, getting:

-----
vectorAddMMAP
-----

Vector Addition (using virtual memory mapping)
terminate called after throwing an instance of 'cuda::runtime_error'
  what():  Failed setting the access mode to the virtual memory mapping to the range of size 4194304 bytes at 0x07f46ab200000: invalid argument
eyalroz commented 7 months ago

Duplicate of #512 .