NVIDIA / grcuda

Polyglot CUDA integration for the GraalVM
Other
222 stars 19 forks source link

Allows users to copyFrom and copyTo memory from host memory pointer to DeviceArray #13

Closed muellren closed 5 years ago

muellren commented 5 years ago

Stopgap solution that addresses issue #12

lukasstadler commented 5 years ago

looks good, I assume that this also works from device array to device array?

muellren commented 5 years ago

yes, DeviceArray arguments also work as they support asPointer(). I should have added a test case for this scenario.