I have three function, one of it ,is executed on GPU( GPU kernel ) and other two are host function as:-
foo_1<<<gridSize, blockSize>>>(param_1, param_2);
Here foo_1 is GPU kernel and foo_2 and foo_3 are CPU functions, parameters of GPU and CPU are independent of each other.
My question is that if I calling like above specified order then , are GPU and CPU executed parallely?
I mean to say that if my foo_1 kernel takes 12 ms and functions foo_2 & foo_3 take total 15 ms then do these calling order take total 15 ms (all three function)?