Function cvcudaGaussianCreate
Defined in File OpGaussian.h
Function Documentation
-
NVCVStatus cvcudaGaussianCreate(NVCVOperatorHandle *handle, int32_t maxKernelWidth, int32_t maxKernelHeight, int32_t maxVarShapeBatchSize)
Constructs an instance of the Gaussian.
- Parameters:
handle – [out] Where the operator instance handle will be written to.
Must not be NULL.
maxKernelWidth – [in] The maximum kernel width that will be used by the operator.
Positive value.
maxKernelHeight – [in] The maximum kernel height that will be used by the operator.
Positive value.
maxVarShapeBatchSize – [in] The maximum batch size that will be used by the var-shape operator.
Positive value.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Handle is null.
NVCV_ERROR_OUT_OF_MEMORY – Not enough memory to create the operator.
NVCV_SUCCESS – Operation executed successfully.