cuda.bindings._v2.driver.func_set_block_shape#

cuda.bindings._v2.driver.func_set_block_shape(intptr_t hfunc, int x, int y, int z)#

Sets the block-dimensions for the function.

[Deprecated]. Specifies the x, y, and z dimensions of the thread blocks that are created when the kernel given by hfunc is launched.

Parameters:
  • hfunc (intptr_t) – Kernel to specify dimensions of.

  • x (int) – X dimension.

  • y (int) – Y dimension.

  • z (int) – Z dimension.

See also

cuFuncSetBlockShape