I am new in cuda programming and I practice on BlackScholes. I would like to create a cuda file which will be able to invoke the kernel because I want to change the number of threads used. Until now I tried to do it by calling some cuda functions like cudaLaunchKernel but it doesn’t work. I guess there is a general problem in doing so, because there are many factors I can not detour such as the parameters used in kernel function. But is there any possibility to find a way to do this?
Any help appreciated.