gdrcopy
gdrcopy copied to clipboard
Manipulate Content with GDRCopy
Hello,
I'm very new to this field. I would like know if it is possible to use GDRCopy to override content for a specific pointer. Is that possible?
gdr_pin_buffer only works with cuMemAlloc and that gives me a new address.
Thank you!
@aaltenbernd Not sure I understand your question. GDRCopy is used to create CPU mappings of cudaMalloc (and its family) buffers. The physical location is GPU memory. You can use the CPU mappings (the virtual addresses returned by GDRCopy) with the GDRCopy API to read/write the content of those buffers from CPU.