Skip to main content

cudaGraphMemsetNodeGetParams

Function cudaGraphMemsetNodeGetParams 

Source
pub unsafe extern "C" fn cudaGraphMemsetNodeGetParams(
    node: cudaGraphNode_t,
    pNodeParams: *mut cudaMemsetParams,
) -> cudaError_t
Expand description

Returns a memset node’s parameters.

Returns the parameters of memset node node in pNodeParams.

Note: Graph objects are not threadsafe. More here.

Note that this function may also return error codes from previous, asynchronous launches.

Note that this function may also return cudaError_t::CUDA_ERROR_NOT_INITIALIZED, cudaErrorInsufficientDriver or cudaError_t::CUDA_ERROR_NO_DEVICE if this call tries to initialize internal CUDA RT state.

Note that as specified by cudaStreamAddCallback no CUDA function may be called from callback. cudaError_t::CUDA_ERROR_NOT_PERMITTED may, but is not guaranteed to, be returned as a diagnostic in such case.

§Parameters

  • node: Node to get the parameters for.
  • pNodeParams: Pointer to return the parameters.

§Return value

See also: cudaGraphNodeGetParams, cudaMemset2D, cudaGraphAddMemsetNode, cudaGraphMemsetNodeSetParams.