Is there a driver API mechanism to copy data into constant memory?
I see cudaMemcpyToSymbol but no cu* equivalent.
Is there a driver API mechanism to copy data into constant memory?
I see cudaMemcpyToSymbol but no cu* equivalent.
cuModuleGetGlobal() returns a device pointer to the constant memory. You can then copy data to it as you would any device pointer (using cuMemcpyHtoD, for example).
Mark