pub unsafe extern "C" fn hipOccupancyMaxActiveBlocksPerMultiprocessor(
numBlocks: *mut c_int,
f: *const c_void,
blockSize: c_int,
dynSharedMemPerBlk: usize,
) -> hipError_t
Expand description
@brief Returns occupancy for a device function.
@param [out] numBlocks Returned occupancy @param [in] f Kernel function for which occupancy is calulated @param [in] blockSize Block size the kernel is intended to be launched with @param [in] dynSharedMemPerBlk Dynamic shared memory usage (in bytes) intended for each block @returns #hipSuccess, #hipErrorInvalidDeviceFunction, #hipErrorInvalidValue