Deprecated APIsΒΆ

The NVPL Sparse library documentation explicitly indicates the set of APIs/enumerators/data structures that are deprecated. The library policy for deprecated APIs is the following:

  1. An API is marked [[DEPRECATED]] on a release X.Y (e.g. 1.5)

    • The documentation indices a replacement if available

    • Otherwise, the functionality will not be maintained in the future

  2. The API will be removed in the release X+1.0 (e.g. 1.8)

Correctness bugs are still addressed even for deprecated APIs, while performance issues are not always ensured.

In addition to the documentation, deprecated APIs generate a compile-time warning for most platforms when used. Deprecation warnings can be disabled by defining the macro DISABLE_NVPL_SPARSE_DEPRECATED before including nvpl_sparse.h or by passing the flag -DDISABLE_NVPL_SPARSE_DEPRECATED to the compiler.