ingonyama-zk / icicle

A hardware acceleration library for compute intensive cryptography :ice_cube:
https://dev.ingonyama.com/icicle/overview
MIT License
329 stars 97 forks source link

[FEAT]: Golang Bindings for pinned host memory #519

Closed jeremyfelder closed 3 months ago

jeremyfelder commented 4 months ago

Describe the changes

This PR adds the capability to pin host memory in golang bindings allowing data transfers to be quicker. Memory can be pinned once for multiple devices by passing the flag cuda_runtime.CudaHostRegisterPortable or cuda_runtime.CudaHostAllocPortable depending on how pinned memory is called

TODO

Linked Issues

Resolves #43