can i use multiple kernels for my program

hai every body

i have one doubt … i used to do my programs using single kernel function… but i want know how to use multiple kernel in one program … thing is i dont have graphics card… i am running my programs in EmDebug mode… is it support for multi kernel functions , if yes then can any one clarify

any one help…

you could call like this

(in emu mode, it will only run synchronoulsy even if you call cudathreadsync )

is that what you need?

There is no need to put cudaThreadSynchronize() between two kernel calls. (unless you are benchmarking them individually) The driver will run them sequentially for you.