Alex Rivera | Logout

Where does Cuda kernel code reside on nvidia GPU?

Asked 2011-02-25T19:26:27.740
10

I have gone through Cuda programming guide but still not clear where does cuda kernel reside on GPU? In other words, in which memory segment does it reside?

Also, How do I know what is the max kernel size supported by my device? Whether max kernel size depend on number of simultaneous kernels loaded on device?

Edit
Report

1 Answer

6

The instructions are stored in global memory that is inaccessible to the user but are prefetched into an instruction cache during execution.

The maximum kernel size is stated in the Programming Guide in section G.1: 2 million instructions.

answered 2011-02-25T20:57:47.860

Your Answer