cuda.bindings._v2.driver.launch_grid#
- cuda.bindings._v2.driver.launch_grid(intptr_t f, int grid_width, int grid_height)#
Launches a CUDA function.
[Deprecated]. Invokes the kernel
fon agrid_widthxgrid_heightgrid of blocks. Each block contains the number of threads specified by a previous call tofunc_set_block_shape(). The block shape, dynamic shared memory size, and parameter information must be set usingfunc_set_block_shape(),func_set_shared_size(),param_set_size(),param_seti(),param_setf(), andparam_setv()prior to calling this function. Launching a function vialaunch_kernel()invalidates the function’s block shape, dynamic shared memory size, and parameter information. After launching via cuLaunchKernel, this state must be re-initialized prior to calling this function. Failure to do so results in undefined behavior.- Parameters:
See also
cuLaunchGrid