how to launch a kernel correctly, when I have to pass a deviceID and streamID and the size of shared manory I would like to allacoate?
I know I can call a as follow:
MyKernel<<< numBlocks, threadsPerBlock, deviceID, streamID>>>(args);
MyKenrel<<< numBlocks, threadsPerBlock, sharedMemorySize, streamID >>> ( args );
But how to do both in one?
thank you in advance.