Constant memory w/ driver API

Is there a driver API mechanism to copy data into constant memory?

I see cudaMemcpyToSymbol but no cu* equivalent.

1 Like

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

1 Like