Develop Branch link error on GPU and WITH_DSO=ON
Created by: reyoung
the error message is
Undefined symbols for architecture x86_64:
"_curandGenerateNormal", referenced from:
paddle::operators::GaussianRandomKernel<float>::Compute(paddle::framework::ExecutionContext const&) const in libgaussian_random_op.a(gaussian_random_op_generated_gaussian_random_op.cu.o)
ld: symbol(s) not found for architecture x86_64
It because here should use platform::dynload::curandGenerateNormal
not curandGenerateNormal
itself.
Also, it is strange that our CI system does not found that bug.