Hi,
I am writing cuda API and would like to define a particle custom property and a simulation custom property that could be accessed in both calculateForce() and externalForce() on the .cu file. Is it necessary for me to define the property twice on CPU code? To copy the same function: getNumberOfRequiredProperties () getDetailsForProperty() on both cpp files? Do I have to keep the same name and index for the custom property?
Regards,
Qi