Skip to main content

cuFuncSetSharedSize

Function cuFuncSetSharedSize 

Source
pub unsafe extern "C" fn cuFuncSetSharedSize(
    hfunc: CUfunction,
    bytes: c_uint,
) -> CUresult
๐Ÿ‘ŽDeprecated
Expand description

Sets the dynamic shared-memory size for the function.

Sets through bytes the amount of dynamic shared memory that will be available to each thread block when the kernel given by hfunc is launched.

ยงParameters

  • hfunc: Kernel to specify dynamic shared-memory size for.
  • bytes: Dynamic shared-memory size per thread in bytes.