07-08-2024, 08:51 AM
(This post was last modified: 07-08-2024, 09:02 AM by josemendez.)
Hi!
In most architectures memory isn't shared between the CPU and the GPU, you need to upload your data to the GPU. This is done by calling Upload() on the ObiNativeList (skinRadiiBackstop in the above code) after modifying its contents.
The manual explains this in the context of particle data arrays, but didn't in the context of constraint data arrays. We've updated the documentation to reflect this, by adding a short section after the above code snippet.
thanks for bringing this to my attention!
kind regards,
In most architectures memory isn't shared between the CPU and the GPU, you need to upload your data to the GPU. This is done by calling Upload() on the ObiNativeList (skinRadiiBackstop in the above code) after modifying its contents.
The manual explains this in the context of particle data arrays, but didn't in the context of constraint data arrays. We've updated the documentation to reflect this, by adding a short section after the above code snippet.
thanks for bringing this to my attention!
kind regards,