I upgrated from CUDA 8 to 10 and find out function cudaMemcpyToSymbol does not work.
Other function from Cuda api seems to work so far.
Here is sample code(simplified from my usage):
// includes here
constant float constData;
checkCudaErrors(cudaMemcpyToSymbol(constData, data, sizeof(data)));
During runtime it throws error: 13(cudaErrorInvalidSymbol).
My GPU is 1050.
Drivers 416.34, most actual.
I do not know if it is a bug or something is wrong on my side.